Skip to main content

An unofficial python3 SpaceX API wrapper

Project description

PySpaceX


Easily access SpaceX's API

pySpaceX is an open-source API wrapper to make it easier to access data from the unofficial 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.get_api())

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

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

print(dragon.one_dragon('C112'))

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pySpaceX-1.2.1.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

pySpaceX-1.2.1-py3-none-any.whl (25.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page