{"id":28580993,"url":"https://github.com/guivaloz/nasa-cli","last_synced_at":"2025-06-11T04:15:19.008Z","repository":{"id":60570121,"uuid":"542873260","full_name":"guivaloz/nasa-cli","owner":"guivaloz","description":"Command Line Interface made with Typer and Python for NASA API.","archived":false,"fork":false,"pushed_at":"2023-09-24T02:54:50.000Z","size":63,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-08T09:41:57.089Z","etag":null,"topics":["nasa-api","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guivaloz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-09-29T02:00:29.000Z","updated_at":"2022-10-01T17:03:15.000Z","dependencies_parsed_at":"2023-12-20T18:02:15.670Z","dependency_job_id":"c376eda4-b33e-42d5-9436-472b2e155f8d","html_url":"https://github.com/guivaloz/nasa-cli","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.0714285714285714,"last_synced_commit":"22ac2b31b36b06d6b44b4f34969d1b40eb813f43"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guivaloz%2Fnasa-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guivaloz%2Fnasa-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guivaloz%2Fnasa-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guivaloz%2Fnasa-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guivaloz","download_url":"https://codeload.github.com/guivaloz/nasa-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guivaloz%2Fnasa-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259198002,"owners_count":22820154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nasa-api","python"],"created_at":"2025-06-11T04:15:17.962Z","updated_at":"2025-06-11T04:15:18.999Z","avatar_url":"https://github.com/guivaloz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nasa-cli\n\nCommand Line Interface made with Typer and Python for NASA API.\n\n## About NASA API\n\nGo to [NASA API](https://api.nasa.gov/) to get started or read [NASA.md](NASA.md).\n\n## Bashrc file\n\nCreate a configuration file named `.bashrc` in the root directory of the project\n\n```bash\nif [ -f ~/.bashrc ]\nthen\n    . ~/.bashrc\nfi\n\nif command -v figlet \u0026\u003e /dev/null\nthen\n    figlet NASA CLI\nelse\n    echo \"== NASA CLI\"\nfi\necho\n\nif [ -f .env ]\nthen\n    echo \"-- Variables de entorno\"\n    export $(grep -v '^#' .env | xargs)\n    echo \"   API_KEY: ${API_KEY}\"\n    echo \"   TIMEOUT: ${TIMEOUT}\"\n    echo\nfi\n\nif [ -d .venv ]\nthen\n    echo \"-- Activando el entorno virtual\"\n    source .venv/bin/activate\n    python --version\n    echo\n    alias nasa=\"python3 ${PWD}/nasa_cli/app.py\"\n    echo \"-- Ejecutar el CLI hecho con Typer\"\n    echo \"   nasa --help\"\n    echo\nfi\n```\n\n## Environment variables\n\nCreate a configuration file named `.env` in the root directory of the project.\n\n```ini\n# Your API key\nAPI_KEY=****************************************\n\n# Requests\nTIMEOUT=12\n```\n\n## Installation\n\nCreate a virtual environment\n\n```bash\npython3 -m venv .venv\n```\n\nUse poetry to install dependencies\n\n```bash\npoetry install\n```\n\nShow help\n\n```bash\npoetry run python nasa_api/app.py --help\n```\n\n## Usage\n\nRetrieve the Astronomy Picture of the Day\n\n```bash\nnasa apod bajar\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguivaloz%2Fnasa-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguivaloz%2Fnasa-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguivaloz%2Fnasa-cli/lists"}