.. image:: ../images/dragon.jpg :scale: 12 % Source: `NASA `_ [Ref3]_ Dragon Information ******************* This group of API calls will enable the retrieval of Dragon data. ALL Dragon 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 Dragons ``````````` .. code-block:: python dragons = spacexpython.dragons.dragons(parameters,timeOut) print(dragon) 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 Dragon ``````````````` .. code-block:: python dragon = spacexpython.dragons.one(dragon_id,parameters,timeOut) print(dragon) Parameters: .. tabularcolumns:: |1|1|C|C| +------------+-------------------------------------------+-----------+---------+ | Name | Purpose | Mandatory | Default | +============+===========================================+===========+=========+ | dragon_id | ID of the dragon capsule | 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 `_ .. [Ref3] `Source `_ The SpaceX Dragon space freighter approaches the International Space Station as both spacecraft were orbiting 265 miles above the Atlantic Ocean off the west coast of Namibia.