Landing Pad Information¶
This group of API calls will enable the retrieval of data about the various landing 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 Landing Pads¶
landingpads = spacexpython.landingpads.landingpads(parameters,timeOut)
print(landingpads)
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 |
Specific Landing Pad¶
landingpad = spacexpython.landingpads.one(landingpad_id,parameters,timeOut)
print(landingpad)
Parameters:
| Name | Purpose | Mandatory | Default |
|---|---|---|---|
| landingpad_id | ID of the landingpad | 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 |
| [Ref6] | Falcon 9 First Stage Landing at LZ-1 on the CRS-11 mission |