Skip to content

A project to learn more about using rust whilst playing around with the NASA API

Notifications You must be signed in to change notification settings

adamdrake210/rust_nasa_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NASA CLI Tool

This is a tool for interacting with the different NASA APIs available. I am using this api to learn more about putting together am app using the rust programming language. Documentation for the API can be found here: https://api.nasa.gov/

How to use the CLI Tool

NASA Image of the day - apod

Run the following at the root level of the project:

-- date = YYYY-MM-DD

cargo run apod --date=2023-07-20

NASA Asteroid - NeoWs - asteroids

Run the following at the root level of the project:

-- start_date = YYYY-MM-DD -- end_date = YYYY-MM-DD

cargo run asteroids --start-date 2023-08-20 2023-08-21

CLI Help Command

Not sure how to use one of the commands. Run --help after the command. e.g.

cargo run apod --help

About

A project to learn more about using rust whilst playing around with the NASA API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages