ftavares / gatsby-source-openweathermap

A Gatsby source plugin to load resources from the OpenWeatherMap API
MIT License
0 stars 2 forks source link

ApiKey is no longer valid in OpenWeather API #2

Open yorchv opened 4 years ago

yorchv commented 4 years ago

Based on https://openweathermap.org/guide#api We should use appid instead of apiKey in the query string parameter. I have a working update in my fork https://github.com/yorchv/gatsby-source-openweathermap/blob/master/src/gatsby-node.js

ftavares commented 4 years ago

Hey @yorchv .

Thank you for looking into this.

If you create a pull request i will approve it, and publish the new version.

Thank you, Fabio.