Factsheet
Videos
Best Weather API
How to use OpenWeatherMap API for historical data - Stack Overflow
Best free weather API? (also LOL at openWeatherMap's pricing)
Beginner to API's. Why does this OpenWeatherMap API request doesn't work?
Any fan favorites for both current and historical weather data?
I found a decent free tier API that gives some hourly forecast data (openWeatherMap.com). It's pretty decent, but I started looking at their pricing for paid plans, and like, holy FUCK the "developer" plan is $180 per month! for a weather api? with limited endpoints? Why would anyone pay that much?
What's your favorite free weather API?
EDIT: I ended up going with weatherapi.com. Their endpoints are much more detailed than other options and offer 3 days of hour-by-hour forecast data on free tier, which is best in class.
Here is the API in question:
https://openweathermap.org/current
From the API docs:
You can call by city name or city name and country code. API responds with a list of results that match a searching word.
There is a possibility to receive a central district of the city/town with its own parameters (geographic coordinates/id/name) in API response. Example API call:
api.openweathermap.org/data/2.5/weather?q={city name}
api.openweathermap.org/data/2.5/weather?q={city name},{country code}
But when I try to put that into the address bar: http://api.openweathermap.org/data/2.5/weather?q=London,uk
I get this
cod 401 message "Invalid API key. Please see http://openweathermap.org/faq#error401 for more info."
The only way to get the data is with this URL http://samples.openweathermap.org/data/2.5/weather?q=London,uk&appid=b1b15e88fa797225412429c1c50c122a1
But its not what appears in the example
Any idea what I got wrong in the syntax?