../_images/crs10.png

Source: Collectspace [Ref8]

Mission Information

This group of API calls will enable the retrieval of data about the various missions that SpaceX has been involved in. ALL these calls can be given a set of parameters, with which to modify the response. Like all functions in this module, the API parameters must be given as a JSON payload such as can be seen here.

All Missions

missions = spacexpython.missions.missions(parameters,timeOut)
print(missions)

Parameters:

Name Purpose Mandatory Default
parameters

JSON list of URL qualifiers in the form

{“status”:”active”,”limit”:3 ……etc

N  
timeOut Number of seconds to wait until a timeout N 1

Valid parameters

Specific Mission

mission = spacexpython.missions.one(mission_id,parameters,timeOut)
print(mission)

Parameters:

Name Purpose Mandatory Default
mission_id ID of the mission Y  
parameters

JSON list of URL qualifiers in the form

{“status”:”active”,”limit”:3 ……etc

N  
timeOut Number of seconds to wait until a timeout N 1

Valid parameters

[Ref8]NASA’s insignia for the tenth Commercial Resupply Services flight to the International Space Station, with “mousetronauts.” Also includes the Stratospheric Aerosol and Gas Experiment (SAGE) and a Lightning Imaging Sensor, designated STP-H5.