/Candid-Mars

A landing page that displays photos of mars taken by the Mars Rover via NASA's Mars Rover Photo api

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Candid-Mars

A landing page that displays photos of mars taken by the Mars Rover via NASA's Mars Rover Photo api

demo

Prequisites

Setup

yarn install or npm install

yarn start or npm start

Usage

  • /api/recent

    • Returns a list of latest photos taken for a specified rover (default curiosity) along with the earth_date it was taken on and the rover that took it
  • /api/archives/{rover}/{earth_date}?pg={page}

    • Returns a list of photos taken on a specific earth_date by a specific rover

    • Returns first page by default if no pg parameter is found