It is a Python project designed to fetch, process, and store data about Near Earth Objects (NEOs) from NASA's public API. The processed data is saved into a CSV file.
- Python 3.11 (Project tested with Python 3.11, but it should work with other versions compatible with the dependencies specified)
- pip
-
Clone the repository.
-
Create a virtual environment.
-
Install the required dependencies:
pip install -r requirements.txt
-
Obtain a NASA API key by registering at NASA API.
-
Run the
run.pyscript with your API key and desired date range (up to 7 days):python run.py NASA_API_KEY YYYY-MM-DD YYYY-MM-DD
Replace NASA_API_KEY with your actual API key and YYYY-MM-DD with the start and end dates.
- Ensure you have all dependencies installed.
- Run the tests using unittest:
python -m unittest discover -s tests
The project uses GitHub Actions for Continuous Integration. The workflow defined in .github/workflows/tests.yml runs
tests on each pull request to the main branch.