{"id":25298563,"url":"https://github.com/hikaylum/spacex-py","last_synced_at":"2025-10-28T04:33:12.487Z","repository":{"id":52173388,"uuid":"145022044","full_name":"HiKaylum/SpaceX-PY","owner":"HiKaylum","description":"Python wrapper for the SpaceX API","archived":false,"fork":false,"pushed_at":"2024-05-01T04:55:38.000Z","size":33,"stargazers_count":18,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T11:08:07.802Z","etag":null,"topics":["python","python3","space","spacex","spacex-api","spacex-launches"],"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/HiKaylum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-16T17:55:02.000Z","updated_at":"2024-08-21T19:48:19.000Z","dependencies_parsed_at":"2022-09-19T09:10:09.778Z","dependency_job_id":null,"html_url":"https://github.com/HiKaylum/SpaceX-PY","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/HiKaylum%2FSpaceX-PY","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiKaylum%2FSpaceX-PY/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiKaylum%2FSpaceX-PY/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiKaylum%2FSpaceX-PY/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HiKaylum","download_url":"https://codeload.github.com/HiKaylum/SpaceX-PY/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238597389,"owners_count":19498396,"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":["python","python3","space","spacex","spacex-api","spacex-launches"],"created_at":"2025-02-13T04:32:01.841Z","updated_at":"2025-10-28T04:33:12.133Z","avatar_url":"https://github.com/HiKaylum.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\nSpaceX-PY\n\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![Build Status](https://travis-ci.org/HiKaylum/SpaceX-PY.svg?branch=master)](https://travis-ci.org/TheDigitalTaste/digitalt-cli)\n[![GitHub issues](https://img.shields.io/github/issues/HiKaylum/SpaceX-PY.svg)](https://github.com/HiKaylum/SpaceX-PY/issues)\n[![GitHub license](https://img.shields.io/github/license/HiKaylum/SpaceX-PY.svg)](https://github.com/HiKaylum/SpaceX-PY/blob/master/LICENSE)\n[![GitHub stars](https://img.shields.io/github/stars/HiKaylum/SpaceX-PY.svg)](https://github.com/HiKaylum/SpaceX-PY/stargazers)\n\n\u003c/div\u003e\n\n## About\nPython wrapper for the unofficial SpaceX REST API. All information on such can be found [here](https://github.com/r-spacex/SpaceX-API). Used for retrieving information about:\n\n* Capsules\n* Cores\n* Launches\n* Launchpads\n* Rockets\n* Miscellaneous data\n\n\n## Installation\nCommand to install the package into your environment:\n```BASH\npip install spacex-py\n```\n\n## Usage\nDocumentation for all queries can be found in their respective source files.\nThis wrapper matches the [SpaceX API](https://github.com/r-spacex/SpaceX-API), allowing for ease uf use. Let's go through some examples:\n\n```PYTHON\nfrom spacex_py import launches\n\n# Returns a tuple\ngot_launches, header = launches.get_launches()\n\n# PyLint being a pain about header? use the following:\ngot_launches, _ = launches.get_launches()\n\n# Prints a list of launches\nprint(got_launches)\n```\n\nNow let's get launches using a query:\n\n```PYTHON\nfrom spacex_py import launches\n\n#Queries launches using the specific site id\ngot_launches, _ = launches.get_launches(site_id=\"ksc_lc_39a\")\n\n#Example query using multiple parameters\ngot_launches, _ = launches.get_launches(site_id=\"ksc_lc_39a\", payload_type='Satellite')\n\n#Prints a list of launches fitting the above parameters\nprint(got_launches)\n```\n\n## License\nThis project uses the [MIT License](https://opensource.org/licenses/MIT).\nMore information can be found in [LICENSE](https://github.com/HiKaylum/SpaceX-PY/blob/master/LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhikaylum%2Fspacex-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhikaylum%2Fspacex-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhikaylum%2Fspacex-py/lists"}