Skip to main content

Python SDK

Send telemetry and events from Python services or automation tooling.

5 min readSDK Integration

Install and Initialize

Install package and initialize with API key + project ID.

pip install argus-sdk

from argus import Argus
sdk = Argus(api_key="ak_live_YOUR_KEY", project_id="my-game")
sdk.init()

Emit Events and Metrics

Capture gameplay and performance signals from scripts and backend services.

sdk.event("quest_completed", {"quest_id": "q-14", "duration_s": 182})
sdk.metric("fps_avg", 57.3)

Common Pitfalls

Validate environment and endpoint alignment first when data is missing.

  • - Virtual environment package mismatch
  • - Incorrect API scope
  • - No network egress to backend endpoint

Related Docs