- Docs
- SDKs
- Python
Python SDK
Official Python client for the Startuped REST API. API surface matches the Node SDK.
PyPI: startuped-ai · Import: startuped · Source: GitHub
Install
bash
pip install startuped-aiPublished from the public startuped-sdk repository (packages/python).
Quick start
python
from startuped import Startuped
client = Startuped(
api_key="sk_…", # from https://www.startuped.ai/api-keys
# base_url="https://www.startuped.ai",
# tenant_id="startuped",
)
client.auth.validate()
client.leads.create({"firstName": "Ada", "email": "ada@example.com"})
client.leads.search({"search": "ada", "limit": 10})
client.deals.create({"name": "Acme deal", "company": "Acme", "amount": 5000})
client.credits.status()
client.agents.list()Modules
| Resource | Methods |
|---|---|
| auth | validate() |
| leads | create, get, update, search, list |
| deals | create, get, update, search, list |
| accounts | get, search, list |
| contacts | create, search, list |
| tasks | create, list, update |
| credits | status |
| agents | list, status |
Errors raise StartupedError with status and body.