.. image:: ../images/LZ-1.jpg
:scale: 50 %
Source: `SpaceX `_ [Ref6]_
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 :doc:`here <./useful/jsonpayload>`.
All Landing Pads
````````````````
.. code-block:: python
landingpads = spacexpython.landingpads.landingpads(parameters,timeOut)
print(landingpads)
Parameters:
.. tabularcolumns:: |1|1|C|C|
+------------+-------------------------------------------+-----------+---------+
| Name | Purpose | Mandatory | Default |
+============+===========================================+===========+=========+
| parameters | JSON list of URL qualifiers in the form | N | |
+ + + + +
| | {"status":"active","limit":3 ......etc | | |
+------------+-------------------------------------------+-----------+---------+
| timeOut | Number of seconds to wait until a timeout | N | 1 |
+------------+-------------------------------------------+-----------+---------+
`Valid parameters `_
Specific Landing Pad
````````````````````
.. code-block:: python
landingpad = spacexpython.landingpads.one(landingpad_id,parameters,timeOut)
print(landingpad)
Parameters:
.. tabularcolumns:: |1|1|C|C|
+---------------+-------------------------------------------+-----------+---------+
| Name | Purpose | Mandatory | Default |
+===============+===========================================+===========+=========+
| landingpad_id | ID of the landingpad | Y | |
+---------------+-------------------------------------------+-----------+---------+
| parameters | JSON list of URL qualifiers in the form | N | |
+ + + + +
| | {"status":"active","limit":3 ......etc | | |
+---------------+-------------------------------------------+-----------+---------+
| timeOut | Number of seconds to wait until a timeout | N | 1 |
+---------------+-------------------------------------------+-----------+---------+
`Valid parameters `_
.. [Ref6] Falcon 9 First Stage Landing at LZ-1 on the CRS-11 mission