Exercise: JavaScript Object Notation
Compute Average
Solution for the exercise "compute the average" (seen at the end of the slides)Solution: solution-average.json
Connect to Nasa API
- Look at the following video presenting the reading of JSON services: Youtube Video
- Got to the Nasa APIs web site Nasa. Generate an API Key. Connect the Astronomy Picture of the Day.
-
In Node Red, create a flow, with an injection node, an http request node connecting to the Nasa and a debug note for the output
Solution: solution-nasa1.json -
Write a web page (based on the exercise of last week) that shows the information from the Nasa.
Solution: solution-nasa2.json
Related Pages
Contact
Prof. Dr. Emmanuel Benoist
Berner Fachhochschule - TI
Quellgasse 21
CH-2501 Biel/Bienne
Switzerland
Mail: emmanuel.benoist (at) bfh.ch
Berner Fachhochschule - TI
Quellgasse 21
CH-2501 Biel/Bienne
Switzerland
Mail: emmanuel.benoist (at) bfh.ch
Social Networks
Follow
me
on
Linkedin, Scholar
& Research gate