Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.

https://www.drift.com/

Installation
------------

Install with pip::

$ pip install drift-api

Usage
-----

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)
drift.identify(company_data)
drift.identify(user_data)


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


PyPI
----

https://pypi.python.org/pypi/drift-api

Source
------

https://github.com/15five/drift-api


License
-------

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

Release History

This version
History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
drift-api-0.1.0.tar.gz (3.7 kB) Copy SHA256 Checksum SHA256 Source May 15, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting