A weather api in express.js using open-meteo apis
-
Endpoint
POST
/getWeather
-
Body
json
{"cities": [array of names of cities]}
-
Example
{"cities":["delhi"]}
-
Result
{ "weather": { "delhi": 30.6 } }
- This API return only temperature of the cities passed to it.
- The temperature is in celcius.
- This API is for educational and learning purpose only. It is not for any commercial use.