CICCIOSGAMINO / openweather-apis

Simple APIs for OpenWeatherMap.org basic services
GNU General Public License v3.0
44 stars 27 forks source link

README Incorrect #8

Closed SCKelemen closed 8 years ago

SCKelemen commented 8 years ago

In README:

// check http://openweathermap.org/appid#get for get the APPID
weather.setAPIID('ssdglnsdogdh441s91gs6');

Weather.setAPIID is undefined.

In your source weather.setAPPID is defined.

CICCIOSGAMINO commented 8 years ago

i can't get it ..... it has showed such as an example of APIID, you need to register on site to get yours !

SCKelemen commented 8 years ago

The issue isnt with the key, it is with the documentation. The documentation says weather.setAPIID, but it should be weather.setAPPID. [ API ID vs APP ID ]

readme.md: image

my code (node.js app.js): image

index.js (function declaration): image

index.js (config vars): image

CICCIOSGAMINO commented 8 years ago

Updated !