quantaq.client.ProductionAPIClient¶
- class quantaq.client.ProductionAPIClient(api_key=None)¶
- __init__(api_key=None) None ¶
Initialize the QuantAQ API.
- Parameters
api_key (str) – API key to authenticate with
base_url (str) – The base url for API calls, defaults to ‘https://api.quant-aq.com/device-api’
version (str) – The API version, defaults to ‘v1’
- Returns
QuantAQ Client
- Return type
Methods
__init__
([api_key])Initialize the QuantAQ API.
paginate
(endpoint, verb, params, data)Iterate over all pages to get all of the data.
request
(endpoint[, verb, params])Make a request to the QuantAQ API.
requests
(endpoint[, verb, params])Request, but for many of them (i.e.
url
(endpoint)Build and return the url
whoami
()Return information about the current account user
Attributes
auth
cellular
data
devices
headers
logs
models
networks
organizations
users