Bigdata.com provides two Python SDKs:

You can log in either with a username and password or with an API key (Beta).

First of all, we recommend to create a file with environment variables to specify your credentials.

The username and password are the same you use to log in to the Bigdata App.

import os
from bigdata_client import Bigdata

# Initialize the Bigdata API
username = os.environ.get("BIGDATA_USERNAME")
password = os.environ.get("BIGDATA_PASSWORD")
bigdata = Bigdata(username, password)

The default constructor of Bigdata will read the environment variables and use them to authenticate. API keys take precedence over the username and password.