../_images/HQ.jpg

Source: [Ref5] Source Bruno Sanchez-Andrade Nuño from Washington, DC, USA`

Company and API Information

This group of API calls allows the retrieval of information regarding :

  • SpaceX corporate information
  • API Information
  • Client Information
  • Application Information

Like all functions in this module, the API parameters must be given as a JSON payload such as can be seen here.

Company Information

info = spacexpython.info.company(timeOut)
print(info)

Parameter:

Name Purpose Mandatory Default
timeOut Number of seconds to wait until a timeout N 1

More Details

API Details

api = spacexpython.info.api(timeOut)
print(api)

Parameter:

Name Purpose Mandatory Default
timeOut Number of seconds to wait until a timeout N 1

More Details

Client Information

This function interrogates the known list of clients (wrappers) in many different languages, with many options for filtering.

clients = spacexpython.info.clients(parameters,timeOut)
print(clients)

Parameters:

Name Purpose Mandatory Default
parameters

JSON list of filters in the form

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

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

More Details

Application Information

This function will return information aout all, or specific applications from the known list of applications (wrappers).

applications = spacexpython.info.apps(parameters,timeOut)
print(applications)

Parameters:

Name Purpose Mandatory Default
parameters

JSON list of filters in the form

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

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

More Details

[Ref5]The company’s headquarters, located in Hawthorne, California.