Process
The chatbot itself is quite simple but there are three main components to it:
- You can ask Curiosity how its day was, and what it did
- You can ask Curiosity questions about Mars (e.g. how far is Mars from me?) or ask it to tell you some interesting facts about Mars
- You can request photos that Curiosity has taken and it will supply you with a picture taken by an individual camera on a specific date
The most difficult part of the chatbot was implementing the NASA API to retrieve the photos.
The code below shows how to call the NASA API to provide a picture.
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .