Skip to main content

PySpaceX


Easily access SpaceX's API

pySpaceX is an open-source API wrapper to make it easier to access data from the unofficial v4 SpaceX API

GitHub all releases GitHub release (latest by date)

Docs · Report a bug · PyPi


Installation

To install you can simply install the package by using: python3 -m pip install pySpaceX

The code can also be directly downloaded from the latest release:

https://github.com/TwoSails/pySpaceX/releases

Usage

To get started with using this wrapper we need to start with the creation of an api instance:

from pySpaceX import Space

api = Space()

To get information about the API use:

info = api.get_info()  # Returns the info object

print(info.company())  # Returns data about the SpaceX company

You can also get information about a dragon capsule by using:

dragon = api.get_dragon()  # Returns the dragon object

print(dragon.one_dragon('5e9d058859b1ffd8e2ad5f90'))

Documentation

Available at https://pypi.org/project/pySpaceX

Contributing

Feel free to contribute by opening an issue or a pull request.

Any help is greatly appreciated.

All contributors will be listed on this repository.

Metadata

Release files for pySpaceX 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pySpaceX 1.2.2
File Size Uploaded
pySpaceX-1.2.2.tar.gz 18.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pySpaceX 1.2.2
File Interpreter ABI Platform
pySpaceX-1.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 43.4 kB

Release files / pySpaceX-1.2.2.tar.gz

Download URL pySpaceX-1.2.2.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
717bbf9c5fdd7e15ae3e559231b61e90c242ed8ac373a377288810fb849ede3b
BLAKE2b-256 checksum
How to use checksums
5990b4b0f613b29464d47a3ad208bb1856bae9db2b15559503f01a5d40c19651
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / pySpaceX-1.2.2-py3-none-any.whl

Download URL pySpaceX-1.2.2-py3-none-any.whl
Size 25.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e473ccafba48193f50e9eef888bd72edeeab8d11fbf624c51866186b2158183
BLAKE2b-256 checksum
How to use checksums
ae0610f4521a555e2167d52cb0b215066804ed125cb4432a895321c15cd99ece
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page