Skip to main content
1
Install the SDK
2
Requires Python 3.9 or later.
3
pip install paxos-sdk
4
Set Up Credentials
5
Create API credentials in the Paxos Dashboard and export them as environment variables.
6
export PAXOS_CLIENT_ID="your_client_id"
export PAXOS_CLIENT_SECRET="your_client_secret"
7
If you don’t have a Sandbox account, sign up here.
8
Make Your First API Call
9
Create a file called main.py with the following code. This example creates a client, lists your profiles, and prints the result.
10
import os
import paxos

client = paxos.Client(
    client_id=os.environ["PAXOS_CLIENT_ID"],
    client_secret=os.environ["PAXOS_CLIENT_SECRET"],
    sandbox=True,
)

# List profiles
for profile in client.profiles.list_profiles(limit=10):
    print(f"Profile: {profile.id} ({profile.nickname})")
11
Run the program:
12
python main.py

Next Steps