Thomas Proffen
thomas@orcsgirls.org Please check in at www.orcsgirls.org/class
Online
Mars Explorer
Advanced App Lab Camp
December 28 - 30, 2020
Day 1
Check-in at www.orcsgirls.org/class
Google Meet
Mute
Please mute if you are not speaking
Turn captions on/off
Helps if audio is bad
Share screen
If asked to share screen, click here.
Chat
Who is online
Google Meet
Class links at www.orcsgirls.org/class
Rules
Introductions
Alex Shanafield | Amelie Nagle | Sarah Miller |
Lesly Chavez | Klara Proffen | Julianna Gallup |
Ayesha Nadeem | | |
This is an Advanced Camp
Things to remember
Mars
Source: NASA, Wikipedia
Launched: 2020-07-30 Will land: 2021-02-18*
Launched: 2011-11-26 Landed: 2012-08-06
Activity 1 - Mars Rover Info App
Breakout Rooms - Activity 1
Visit www.orcsgirls.org/class
Goto
Enter password (given in chat)
Disconnect from this session
Click button for your breakout room
Alex | Amelie | Sarah |
Ananya M. | Ada D. | Arushi V. |
Audrey S. | Ananya M. | Bella H. |
Nalanie I. | Annie K. | Ellie M. |
Reina Y. | Arabella H. | Hannah Y. |
Ronni B. | Diana G. | Layla B. |
Sarah Y. | Kristen M. | Odina A. |
Sloan M. | Leah B. | Shreeya P. |
Suriana S. | Leah T. | Sofia Imane Y. |
Taylynn H. | Mishthi G. | Sophie C. |
Tianna B. | Sarvani M. | Suchita S. |
Blocks vs. JavaScript
Watch the demo
APIs and Web Requests
An application programming interface (API) is a computing interface that defines interactions between multiple software intermediaries. It defines the kinds of calls or requests that can be made, how to make them, the data formats that should be used, the conventions to follow, etc.
Wikipedia
Let’s look at a specific example of an API returning fun facts about numbers for our next app.
Step 1
Step 2
Activity 2 - Fun with numbers
Breakout Rooms - Activity 2
Visit www.orcsgirls.org/class
Goto
Enter password (given in chat)
Disconnect from this session
Click button for your breakout room
Alex | Amelie | Sarah |
Ananya M. | Ada D. | Arushi V. |
Audrey S. | Ananya M. | Bella H. |
Nalanie I. | Annie K. | Ellie M. |
Reina Y. | Arabella H. | Hannah Y. |
Ronni B. | Diana G. | Layla B. |
Sarah Y. | Kristen M. | Odina A. |
Sloan M. | Leah B. | Shreeya P. |
Suriana S. | Leah T. | Sofia Imane Y. |
Taylynn H. | Mishthi G. | Sophie C. |
Tianna B. | Sarvani M. | Suchita S. |
Sharing
THANK YOU SO MUCH FOR ATTENDING
@ORCSGirls
ORCSGirls
ORCSGirls
Thomas Proffen
thomas@orcsgirls.org Please check in at www.orcsgirls.org/class
Online
Mars Explorer
Advanced App Lab Camp
December 28 - 30, 2020
Day 2
Check-in at www.orcsgirls.org/class
Recap - Fun with numbers
Curiosity Rover
Cameras
Driving
Front Hazard Avoidance Camera (FHAZ)
Rear Hazard Avoidance Camera (RHAZ)
Navigation Cameras (NAVCAM)
Science
Chemistry and Camera (CHEMCAM)
Mars Hand Lens Imager (MAHLI)
Mars Descent Imager (MARDI)
Mast Camera (MAST)
NASA Open API
Retrieving the latest photos from Curiosity Rover using the URL
https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/latest_photos?api_key=DEMO_KEY
Exploring answer from the API
?
JSON
JSON (JavaScript Object Notation) is an open standard file format, and data interchange format, that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and array data types (or any other serializable value).
Wikipedia
latest_photos is an array!
JSON Quiz
In a separate window or on a separate device, visit
kahoot.it
and enter the PIN you see on the shared screen.
Using response in JavaScript
Retrieving the latest photo from Mars
Watch - you will make your own in the breakout session
Activity 3 - Mars Explorer App 1
Breakout Rooms - Activity 3
Visit www.orcsgirls.org/class
Goto
Enter password (given in chat)
Disconnect from this session
Click button for your breakout room
Alex | Amelie | Sarah |
Ananya M. | Ada D. | Arushi V. |
Audrey S. | Ananya M. | Bella H. |
Nalanie I. | Annie K. | Ellie M. |
Reina Y. | Arabella H. | Hannah Y. |
Ronni B. | Diana G. | Layla B. |
Sarah Y. | Kristen M. | Odina A. |
Sloan M. | Leah B. | Shreeya P. |
Suriana S. | Leah T. | Sofia Imane Y. |
Taylynn H. | Mishthi G. | Sophie C. |
Tianna B. | Sarvani M. | Suchita S. |
Sharing
THANK YOU SO MUCH FOR ATTENDING
@ORCSGirls
ORCSGirls
ORCSGirls
Thomas Proffen
thomas@orcsgirls.org Please check in at www.orcsgirls.org/class
Online
Mars Explorer
Advanced App Lab Camp
December 28 - 30, 2020
Day 3
Check-in at www.orcsgirls.org/class
Run the app you made yesterday.
Notice any difference?
NASA Open API
Retrieving the latest photos from Curiosity Rover using the URL
https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/latest_photos?api_key=DEMO_KEY
Using response in JavaScript
Learning more about the NASA API
NASA Open API - photos endpoint
Retrieving the specific photos from Curiosity Rover using the URL
https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/photos?api_key=DEMO_KEY
&camera=FHAZ&earth_date=2020-12-10
Quiz
Activity 4 - Mars Explorer App Deluxe
Add features in stages and test!
Be ready to share your final app 😎
Breakout Rooms - Activity 4
Visit www.orcsgirls.org/class
Goto
Enter password (given in chat)
Disconnect from this session
Click button for your breakout room
Alex | Amelie | Sarah |
Ananya M. | Ada D. | Arushi V. |
Audrey S. | Ananya M. | Bella H. |
Nalanie I. | Annie K. | Ellie M. |
Reina Y. | Arabella H. | Hannah Y. |
Ronni B. | Diana G. | Layla B. |
Sarah Y. | Kristen M. | Odina A. |
Sloan M. | Leah B. | Shreeya P. |
Suriana S. | Leah T. | Sofia Imane Y. |
Taylynn H. | Mishthi G. | Sophie C. |
Tianna B. | Sarvani M. | Suchita S. |
Showcase
Where to go from here?
Keep coding 👩💻👩🏾💻👩🏿💻👩🏼💻
Perseverance landing Feb 18, 2021
Upcoming classes
Jan 9 | 10:00 AM | Encryption |
Jan 16 | 10:00 AM | Finding Answers using Databases |
Jan 23 | 10:00 AM | Custom Maps |
Jan 30 | 10:00 AM | Mars Explorer Mini Camp |
Feb 06 | 10:00 AM | Photo Editing |
Feb 13 | 10:00 AM | Artistic Math |
Feb 20 | 10:00 AM | ProjectCSGirls |
Feb 27 | 10:00 AM | 3D Computer Modeling and Animation |
Mar 06 | 10:00 AM | Code Some Chords |
Tuesday’s from 4:00pm to 5:30pm
THANK YOU SO MUCH FOR ATTENDING
@ORCSGirls
ORCSGirls
ORCSGirls