Back to Features
🔗

SDK (Python)

ActiveIntegrationMUSTFREE

What it does

Official Python SDK (potal on PyPI) for server-side integration. Provides typed methods with Pydantic models for all API endpoints. Supports Python 3.8+ with async/await support and automatic retry logic.

How to use it

1

Install the SDK

Run pip install potal and import from potal import PotalClient.

2

Initialize the client

Create client = PotalClient(api_key="sk_live_...") with your secret key.

3

Call methods

Use methods like client.classify(), client.calculate(), client.sanctions.screen() with typed parameters.

4

Use async

For async applications, use AsyncPotalClient with await for all API calls.

Related Features

Having issues?