A collection of weather forecasts and nowcasts.
pip install git+https://github.com/jhrcook/weather_forecast_collection.git
(In progress.)
from weather_forecast_collection.apis import accuweather_api
data = get_accuweather_forecast(lat=latitude, long=longitude, api_key=ACCU_KEY)
Here is a good list of weather sources: open weather APIs.
From what I can tell, this API used to be open, but is now only available to individuals with a "personal weather station" linked with Weather Underground.
A banner on the documentation website indicates that this API will be closed soon.
On approximately May 1, 2021, the free Yahoo Weather API will be retired and will cease to function. Unfortunately, we will not be offering a replacement API, and there will be no paid alternative.
The API is no longer open, but I may try to webscrape the HTML or use RapidAPI.
Free tier is restricted to 50 requests per day.
The data comes from live weather stations. This could be a good way to get the "true" current weather.