Skip to content

TwoSails/pySpaceX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)


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.

About

A simple python API Wrapper made for use with the https://github.com/r-spacex/SpaceX-API/

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages