quantaq.client.APIClient

class quantaq.client.APIClient(base_url, api_key=None, version=None)
__init__(base_url, api_key=None, version=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

quantaq.client.ClientBase

Methods

__init__(base_url[, api_key, version])

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