{"id":20441527,"url":"https://github.com/thewhiteh4t/spacepaper","last_synced_at":"2025-04-12T23:32:55.339Z","repository":{"id":99673046,"uuid":"163871197","full_name":"thewhiteh4t/spacepaper","owner":"thewhiteh4t","description":"High Quality Images from NASA APOD","archived":false,"fork":false,"pushed_at":"2019-04-29T07:43:28.000Z","size":165,"stargazers_count":37,"open_issues_count":0,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-26T17:41:57.596Z","etag":null,"topics":["nasa","nasa-api","nasa-apod","nasa-astronomy-picture","nasa-astronomy-picture-of-the-day","nasa-space","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thewhiteh4t.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-02T17:44:12.000Z","updated_at":"2025-03-11T19:40:24.000Z","dependencies_parsed_at":"2023-05-04T05:19:05.196Z","dependency_job_id":null,"html_url":"https://github.com/thewhiteh4t/spacepaper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewhiteh4t%2Fspacepaper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewhiteh4t%2Fspacepaper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewhiteh4t%2Fspacepaper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewhiteh4t%2Fspacepaper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thewhiteh4t","download_url":"https://codeload.github.com/thewhiteh4t/spacepaper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647257,"owners_count":21139081,"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","nasa-api","nasa-apod","nasa-astronomy-picture","nasa-astronomy-picture-of-the-day","nasa-space","python3"],"created_at":"2024-11-15T09:33:26.625Z","updated_at":"2025-04-12T23:32:55.328Z","avatar_url":"https://github.com/thewhiteh4t.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://imgur.com/9PzfA4r.png\" width=\"80%\"\u003e\u003c/p\u003e\n\u003ch4 align=\"center\"\u003eHigh Quality Images from NASA APOD\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/Python-3-brightgreen.svg?style=plastic\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/Termux-✔-red.svg?style=plastic\"\u003e\n\u003c/p\u003e\n\n![SpacePaper](https://i.imgur.com/eUncuyD.png)\n\n## NASA APOD - Astronomy Picture of the Day\nOne of the most popular websites at NASA is the Astronomy Picture of the Day.\nEach day a different image or photograph of our fascinating universe is featured, along with a brief explanation written by a professional astronomer.\n\n[NASA APOD](https://apod.nasa.gov/apod/astropix.html)\n\nThe official NASA APOD page displays a single image everyday, SpacePaper retrieves images for a specific Month and Year.\n\nAPOD API allows us to retrieve images from June 1995 - Current Year.\n\nAPI Requests are handled by a python script and it generates a Javascript file which displays images on the frontend.\n\n## Rate Limits\nWhen you execute SpacePaper for the first time it will ask for an API Key, you have two options here :\n\n* Demo Key\n* Register for a Key\n\n## Demo Key\nIn documentation examples, the special DEMO_KEY api key is used. This API key can be used for initially exploring APIs prior to signing up, but it has much lower rate limits, so you’re encouraged to signup for your own API key if you plan to use the API (signup is quick and easy). The rate limits for the DEMO_KEY are:\n\n* Hourly Limit: 30 requests per IP address per hour\n* Daily Limit: 50 requests per IP address per day\n\nIf you want to use Demo Key, execute SpacePaper and enter `DEMO_KEY`, if you start getting errors after sometime that's because rate limit was exceeded.\n\n## Registered key\n[Get your Key](https://api.nasa.gov/index.html#apply-for-an-api-key)\n\n* Hourly Limit: 1,000 requests per hour\n\nExceeding these limits will lead to your API key being temporarily blocked from making further requests. The block will automatically be lifted by waiting an hour.\n\n## Install\nSpacePaper uses Python3 Standard Library Packages along with Requests and PHP In-built Server.\nIf you already have the above you can skip this step...\n\n```\nLinux / Termux --\u003e\n\ngit clone https://github.com/thewhiteh4t/spacepaper.git\ncd spacepaper\nchmod 777 install.sh\n./install.sh\n```\n![install](https://i.imgur.com/Vwci3Cv.png)\n\n## Usage\n```\nusage: spacepaper.py [-h] [-m MONTH] [-y YEAR] [-r]\n\nSpacePaper Provides High Quality Images from NASA APOD [ June 1995 Onwards ]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -m MONTH, --month MONTH\n  -y YEAR, --year YEAR\n  -r, --random\n```\n\nWithout Arguments\n\n`python3 spacepaper.py`\n\nGet Images for a Specific Month and Year\n\n`python3 spacepaper.py -m 12 -y 2018`\n\nGet Images for a Random Month and Year\n\n`python3 spacepaper.py -r`\n\n![usage](https://i.imgur.com/EVL8BK0.png)\n\n## Tested on\n\n* Ubuntu 18.04\n* Kali Linux\n* Termux\n\n## Demo\n\n[Youtube](https://www.youtube.com/watch?v=8s52eEjTbsk)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewhiteh4t%2Fspacepaper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthewhiteh4t%2Fspacepaper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewhiteh4t%2Fspacepaper/lists"}