quantaq.client.ClientBase

class quantaq.client.ClientBase(api_key=None, base_url=None, version=None)

A client for accessing the QuantAQ API.

__init__(api_key=None, base_url=None, version=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

quantaq.client.ClientBase

Methods

__init__([api_key, base_url, 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

Attributes

auth

headers