https://github.com/birg81/whatzweater
This WebApp is an example tutorial. It exploits the AJAX technology in JavaScript through the use of the fetch function the API of the OpenWeatherMap REST services are called which returns data in JSON format that is printed on the web page. IMPORTANT: you must have your personal secret AppID Key, otherwise the WebApp doesn't work. After registering on the site https://openweathermap.org, you will receive your personal secret key which you will need to paste into the JavaScript code. If your PC is connected to the internet, by typing the name of a location in the search bar, other useful information will be shown in addition to the temperature perceived in that location.
https://github.com/birg81/whatzweater
ajax asynchronous callback html js json openweathermap-api rest rest-api
Last synced: 12 months ago
JSON representation
This WebApp is an example tutorial. It exploits the AJAX technology in JavaScript through the use of the fetch function the API of the OpenWeatherMap REST services are called which returns data in JSON format that is printed on the web page. IMPORTANT: you must have your personal secret AppID Key, otherwise the WebApp doesn't work. After registering on the site https://openweathermap.org, you will receive your personal secret key which you will need to paste into the JavaScript code. If your PC is connected to the internet, by typing the name of a location in the search bar, other useful information will be shown in addition to the temperature perceived in that location.
- Host: GitHub
- URL: https://github.com/birg81/whatzweater
- Owner: birg81
- License: apache-2.0
- Created: 2022-06-03T12:21:45.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-03T12:23:00.000Z (almost 4 years ago)
- Last Synced: 2023-07-04T09:28:14.783Z (over 2 years ago)
- Topics: ajax, asynchronous, callback, html, js, json, openweathermap-api, rest, rest-api
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0