../_images/pad.jpg

Source: NASA/Kim Shiflett [Ref13]

Launch Pad Information

This group of API calls will enable the retrieval of data about the various launch pads that SpaceX uses. 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 Launch Pads

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

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 Launch Pad

launchpad = spacexpython.launchpads.one(launchpad_id,parameters,timeOut)
print(launchpad)

Parameters:

Name Purpose Mandatory Default
launchpad_id ID of the launchpad 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

[Ref13]Taken: October 23rd 2009 - An aerial view of Space Launch Complex 40 on Cape Canaveral Air Force Station. The pad will be used to support the new Falcon rockets to be launched by Space Exploration Technologies, known as SpaceX. Camera Location