An unofficial Python HTTP client for Pendo.
- Server Side Track Events
Python 3.9+
pip install pendo
A Pendo Admin can access the pendo_integration_key
in your app settings via: Subscription Settings > Choose your App > App Details.
from pendo import Pendo
client = Pendo(pendo_integration_key="<YOUR_INTEGRATION_KEY>")
response = client.track({
"event": "MyEvent",
"visitorId": "00000-0000-0000-0000",
"accountId": "11111-1111-1111-1111",
"timestamp": int(time.time() * 1000),
})
assert response.status_code == 200
Read the contributing guide.