Week 08
Data
JSON (JavaScript Object Notation)
We have played with JSON already.......
When we access the values in the JSON object.
Let's make your own .json file.
food.json
Let's validate
JSON with [Array]
https://github.com/dariusk/corpora/tree/master/data
We use AAA.BBB[ i ]
i as an index
API (Application programming interface)
It can be anything like CSV, XML, TXT, PDF but we want "JSON!"
Why?? J = Javascript
JSON VIEWER
Before >>>
After >>>
Simple API example
Sign Up here:
Try it here: Weather in London:
https://samples.openweathermap.org/data/2.5/weather?q=London,uk
?q=london,uk
?q=london,uk& ________ = ________ &________=_________
&units=metric
?lat=35&lon=139
Assignment
Last updated