node-openweathermap icon indicating copy to clipboard operation
node-openweathermap copied to clipboard

API key

Open undavide opened this issue 10 years ago • 1 comments

Hi, apparently OpenWeatherMap is now requiring an API key - is there a way to add it? Update adding APPID: 'nnnnnnnnnnnnn' in the config object does the trick. Thanks

Davide

undavide avatar Oct 15 '15 20:10 undavide

I don't know if you figured it out but adding the api key to the function, ie. weather.now({id: foo, APPID: barr}) works. This library probably should be updated so that the api key can be placed in the config object.

dotheygandalf avatar Feb 03 '16 16:02 dotheygandalf