OpenWeather - Temp -Weather
GET api.openweathermap.org/data/2.5/weather?zip={{zipcode}}&appid={{api-key}}
This API uses the OpenWeather API to get the current temperature and weather for a specified zip code.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
`` | null | ||
zip | string | Required |
The specified zip code. |
| appid
| string | | Required
Authentication Key |
RESPONSES
status: OK
{"coord":{"lon":-82.95,"lat":42.38},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"base":"stations","main":{"temp":281.91,"feels_like":281.01,"temp_min":281.48,"temp_max":282.04,"pressure":1016,"humidity":100,"sea_level":1016,"grnd_level":994},"visibility":10000,"wind":{"speed":0.89,"deg":250,"gust":1.79},"clouds":{"all":100},"dt":1603933070,"sys":{"type":3,"id":2031851,"country":"US","sunrise":1603886443,"sunset":1603924210},"timezone":-14400,"id":0,"name":"Detroit","cod":200}