Skip to main content
We currently support a Python SDK for working with our API. You’ll find Python SDK snippets on all endpoint pages. If you want to go deeper into the code, check out these files.

Installation

To install the SDK, run the following command in your terminal:
Be sure you are using the latest release. You can find all release versions here - there may be code added to the repo that has not been put into a release yet.

Quick Start

Initialize the client with your API key:

Working with Queries

You will commonly work with the QueryBase class which can be created like this:
The query object is defined as QueryBase and all properties can be found in this file.

Executing Queries

Execute a query and get results:

Working with Results

Other classes such as execution results can be found here, detailing operations like ResultsResponse.get_rows() for getting the data out of a GET request.

Using Pandas DataFrames

If you are trying to load data into a Pandas DataFrame, you can use the following function from the SDK:

Additional Resources

GitHub Repository

View source code, examples, and full documentation

API Files

Explore the API implementation

Releases

Check the latest release versions

Report Issues

Report bugs or request features