Table of Content
$.getJSON
The API:
http://api.openweathermap.org/data/2.5/weather?q=Macau,MO
Viewing JSON output directly in web browser often comes without any formatting and make the data inspection difficult. We can make use of JSON formatter tools. Here just to name few. There are tons of them.
- rested
- visual JSON
- browser extension
In jQuery, we use $.getJSON for this purpose.
What’s next? We’re going to take a look at “Parse JSON”.