{ "info": { "author": "Paul Logston", "author_email": "paul@15five.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Drift API\n=========\n\nThis package wraps the Drift API. It only wraps the 'track' and \n'identify' endpoints offered by the HTTP API.\n\nhttps://www.drift.com/\n\nInstallation\n------------\n\nInstall with pip::\n\n$ pip install drift-api\n\nUsage\n-----\n\n from drift_api import Drift\n\n company_data = {\n 'companyId': company_id,\n 'attributes': {'revenue': 'bajillions'},\n }\n\n user_data = {\n 'userId': user_id,\n 'attributes': {'hair_color': 'red'},\n }\n\n drift = Drift(DRIFT_ORG_ID)\n drift.identify(company_data)\n drift.identify(user_data)\n\n\nThe package also exposes a `drift.track` method and `multi` methods for both\n`track` and `identify`.\n\n\nPyPI\n----\n\nhttps://pypi.python.org/pypi/drift-api\n\nSource\n------\n\nhttps://github.com/15five/drift-api\n\n\nLicense\n-------\n\nThis library is released under the terms of the **MIT license**.\nFull details in ``LICENSE.txt`` file.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/15five/drift-api/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/15five/drift-api", "keywords": "drift http api", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "drift-api", "package_url": "https://pypi.org/project/drift-api/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/drift-api/", "project_urls": { "Download": "https://github.com/15five/drift-api/archive/master.zip", "Homepage": "https://github.com/15five/drift-api" }, "release_url": "https://pypi.org/project/drift-api/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "A wrapper for the Drift API", "version": "0.1.0" }, "last_serial": 4544227, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "136f57401d8d233d6ef71804beb2fc40", "sha256": "4a922ce7ef511b85f851a03db51daa6ea2e008a21a654424cc0ed4dcfb4a7247" }, "downloads": -1, "filename": "drift-api-0.1.0.tar.gz", "has_sig": false, "md5_digest": "136f57401d8d233d6ef71804beb2fc40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3659, "upload_time": "2017-05-15T19:16:16", "url": "https://files.pythonhosted.org/packages/9b/ee/ade130ca7dae4b4ec6ec8d817f52cecc589951fdfc78b58300f6b0dbc555/drift-api-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "136f57401d8d233d6ef71804beb2fc40", "sha256": "4a922ce7ef511b85f851a03db51daa6ea2e008a21a654424cc0ed4dcfb4a7247" }, "downloads": -1, "filename": "drift-api-0.1.0.tar.gz", "has_sig": false, "md5_digest": "136f57401d8d233d6ef71804beb2fc40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3659, "upload_time": "2017-05-15T19:16:16", "url": "https://files.pythonhosted.org/packages/9b/ee/ade130ca7dae4b4ec6ec8d817f52cecc589951fdfc78b58300f6b0dbc555/drift-api-0.1.0.tar.gz" } ] }