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
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)
| File | Size | Uploaded | |
|---|---|---|---|
| pySpaceX-1.2.2.tar.gz | 18.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|