Skip to main content

A wrapper for the Drift API

Project description

Drift API

This package wraps the Drift API. It only wraps the 'track' and
'identify' endpoints offered by the HTTP API.


Install with pip::

$ pip install drift-api


from drift_api import Drift

company_data = {
'companyId': company_id,
'attributes': {'revenue': 'bajillions'},

user_data = {
'userId': user_id,
'attributes': {'hair_color': 'red'},

drift = Drift(DRIFT_ORG_ID)

The package also exposes a `drift.track` method and `multi` methods for both
`track` and `identify`.




This library is released under the terms of the **MIT license**.
Full details in ``LICENSE.txt`` file.

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
drift-api-0.1.0.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page