HTML5 APPLICATIONS DEVELOPMENT MANUAL

(lu) #1

On the right at the page we can see, that we can access the current


weather data of one location, after geographic coordinates.


If we open the example provided we can see the url and the arguments


that will be read by the api server when we will call it.


As we see, we will need the latitude, longitude and another argument


called appid.


As we will use https://openweathermap.org/api for our weather app,


in order to access the API freely we need to sign up for an API key, as they


are sayng on their documentation. This API key is in fact the appid


argument.

Free download pdf