noazark / weather

real weather for Javascript
MIT License
228 stars 108 forks source link

Upgrade to use the latest version of the OWM API #20

Closed codewithtyler closed 4 years ago

codewithtyler commented 8 years ago

OpenWeatherMap is currently on version 2.5 of their API. Weather.js is currently using version 2.1 of the API. We should upgrade to use the latest version. To do this the user will have to provide an API key to Weather.js.

Keeping in mind that the plan is to eventually allow the user to pull from other sources like wunderground @noazark how would you like the user to provide the API key? I know we've talked about using the adapter pattern to do that, but how would that pattern affect this particular issue?

codewithtyler commented 4 years ago

The code now uses version 2.5; however, the latest code has not been pushed to NPM.