Get current weather of coords using OW
GET https://api.openweathermap.org/data/2.5/weather?lat={{lat}}&lon={{lon}}&appid={{api_key}}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
lat | string | ||
lon | string | ||
appid | string |
RESPONSES
status: OK
{"coord":{"lon":77.646,"lat":12.908},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"base":"stations","main":{"temp":301.03,"feels_like":300.12,"temp_min":299.2,"temp_max":301.03,"pressure":1009,"humidity":29,"sea_level":1009,"grnd_level":912},"visibility":10000,"wind":{"speed":3.03,"deg":159,"gust":6.22},"clouds":{"all":3},"dt":1650914403,"sys":{"type":2,"id":2040609,"country":"IN","sunrise":1650933064,"sunset":1650978190},"timezone":19800,"id":1277333,"name":"Bengaluru","cod":200}