{ "info": { "author": "Ernest W. Durbin III", "author_email": "ewdurbin@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries" ], "description": "py-KISSmetrics\n--------------\n\nKISSmetrics tracking API wrapper for Python\n\nA description of the API can be found at: http://support.kissmetrics.com/apis/specifications.html\n\nSupport for:\n - Python 2.6, 2.7, 3.2, 3.3\n\nAlso tested against:\n - PyPy (Generally the latest release)\n\nDocumentation: http://py-kissmetrics.readthedocs.org/\n\n\nUsing this library\n==================\n\n>>> import KISSmetrics\n>>> KM = KISSmetrics.Client(key='mySuperSecretApiKey')\n>>> KM.record('bob@bob.com', 'Viewed Homepage')\n\n>>> KM.record('bob@bob.com', 'Signed Up', {'Plan' : 'Pro', 'Amount' : 99.95})\n\n>>> KM.record('bob@bob.com', 'Signed Up', timestamp=1234567890)\n\n>>> KM.set('bob@bob.com', {'gender': 'male'})\n\n\n\n\nCompatibility client\n====================\n\nA compatibility client is provided which is intended to act like the previous generation of Python library here_.\n\nThis interface is provided for compatibility only, and will not be supported in the future.\n\nExample Usage\n+++++++++++++\n\n>>> from KISSmetrics import KM\n>>> km = KM(\"this is your API key\")\n>>> km.key\n'this is your API key'\n>>> km.identify('bob@bob.com')\n>>> km.identity\n'bob@bob.com'\n>>> km.check_id_key() # this will throw exception if key or identity is None\n>>> km.record('Viewed Homepage')\n>>> km.record('Signed Up', {'Plan' : 'Pro', 'Amount' : 99.95})\n>>> km.record('Signed Up', {'_d' : 1, '_t' : 1234567890})\n>>> km.set({'gender' : 'male'})\n\n\n.. _here: https://github.com/kissmetrics/KISSmetrics/blob/master/KISSmetrics/__init__.py", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kissmetrics/py-KISSmetrics/", "keywords": "", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "py-KISSmetrics", "package_url": "https://pypi.org/project/py-KISSmetrics/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/py-KISSmetrics/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/kissmetrics/py-KISSmetrics/" }, "release_url": "https://pypi.org/project/py-KISSmetrics/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Official KISSmetrics client library.", "version": "1.0.1" }, "last_serial": 1485453, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "b91788bf43d3dfeec503fda32283c804", "sha256": "7a26f4c41a6357298100c010951795e3230fc949eb8ac389c4824ac44f184294" }, "downloads": -1, "filename": "py_KISSmetrics-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b91788bf43d3dfeec503fda32283c804", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 9318, "upload_time": "2013-11-21T15:56:49", "url": "https://files.pythonhosted.org/packages/79/9c/b46bdef18f817ddb0efab95ca99b23b56c042e2eae1739c9a12705b77b04/py_KISSmetrics-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "22bbb3123d6ea8e35cd3078bcad1e409", "sha256": "9cafca132702f409a036e71bedca7de2d23658c49e021054805823b79a5de009" }, "downloads": -1, "filename": "py-KISSmetrics-1.0.0.tar.gz", "has_sig": false, "md5_digest": "22bbb3123d6ea8e35cd3078bcad1e409", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5585, "upload_time": "2013-11-21T15:55:38", "url": "https://files.pythonhosted.org/packages/1a/f6/1ded1c56251cf27149194d49f0fb79abf464162e45cfa584fcc3f9a840ca/py-KISSmetrics-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "6746e10bac917d804840d92f7befa041", "sha256": "9fae685b1d20b08783e7281b83772fe51455cbf2f67da73659d1583dc1ab44d5" }, "downloads": -1, "filename": "py-KISSmetrics-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6746e10bac917d804840d92f7befa041", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5326, "upload_time": "2015-03-31T18:54:01", "url": "https://files.pythonhosted.org/packages/3e/d9/4ec639d437a353f751c48af942b84aaa4b2f99ce4f3c9fd555a7174ddd17/py-KISSmetrics-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6746e10bac917d804840d92f7befa041", "sha256": "9fae685b1d20b08783e7281b83772fe51455cbf2f67da73659d1583dc1ab44d5" }, "downloads": -1, "filename": "py-KISSmetrics-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6746e10bac917d804840d92f7befa041", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5326, "upload_time": "2015-03-31T18:54:01", "url": "https://files.pythonhosted.org/packages/3e/d9/4ec639d437a353f751c48af942b84aaa4b2f99ce4f3c9fd555a7174ddd17/py-KISSmetrics-1.0.1.tar.gz" } ] }