Script to interact with NASA's Near Earth Object Web Service (NeoWs) to retrieve data about near-Earth objects (NEOs) detected within the last 7 days.
- Go 1.22.2
- Docker
Run the following commands:
- To create a Docker image:
docker build -f build Dockerfile -t neos .
- Go to https://api.nasa.gov/ and generate your own API key.
- Enter a generated API key:
docker run -e API_KEY='DEMO_KEY' neos