Use a shared internal Python client today.
Until an official SDK is available, userequests or httpx with one maintained client module.
Recommended wrapper capabilities
- Base URL and key handling from environment.
- Timeout defaults and retry policy for transient errors.
- Error payload parsing and request ID logging.
- Optional type hints for common response envelopes.
Usage pattern
- Keep endpoint helpers in service modules.
- Use idempotency keys for sensitive mutation flows.
- Log
request_idand error code for all non-2xx responses. - Add smoke tests for campaign launch and log retrieval flows.
Maintained downloads guidance
- Store client template in a shared internal package.
- Pin runtime and dependency versions in lockfiles.
- Track API changes and update wrapper before production rollout.