Back to Parent


The chatbot itself is quite simple but there are three main components to it:

  1. You can ask Curiosity how its day was, and what it did
  2. 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
  3. 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!