Check out Replaced the previous weather API example in my API course to now use OpenWeatherAPI by . Here is an excerpt:
I updated the sample weather API in my API course to use a more robust and stable weather API from OpenWeatherMap. Any time you incorporate free or open-source projects, you run the risk that the code won’t be supported in the long term.
The full article is available here.