{ "info": { "author": "Daniel Greenfeld, Bartek Ogryczak", "author_email": "danny@eventbrite.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "===============================\neventbrite-sdk-python\n===============================\n\n.. image:: https://badge.fury.io/py/eventbrite.png\n :target: http://badge.fury.io/py/eventbrite\n\n.. image:: https://travis-ci.org/eventbrite/eventbrite-sdk-python.svg?branch=master\n :target: https://travis-ci.org/eventbrite/eventbrite-sdk-python\n\n.. image:: https://pypip.in/d/eventbrite/badge.png\n :target: https://pypi.python.org/pypi/eventbrite\n\n\nOfficial Eventbrite_ SDK for Python\n\n* Free software: Apache 2 license\n* Documentation: https://eventbrite.readthedocs.org.\n\nUsage\n--------\n\nThe Eventbrite Python SDK makes it trivial to interact with the Eventbrite API:\n\n.. code-block:: python\n\n >>> from eventbrite import Eventbrite\n >>> eventbrite = Eventbrite('my-oauth-token')\n >>> user = eventbrite.get_user() # Not passing an argument returns yourself\n >>> user['id']\n 1234567890\n >>> user['name']\n Daniel Roy Greenfeld\n\nYou can also specify API endpoints manually:\n\n.. code-block:: python\n\n >>> user = eventbrite.get('/users/me')\n >>> user['id']\n 1234567890\n >>> user['name']\n Daniel Roy Greenfeld\n\nUsage with Frameworks\n----------------------\n\nWhen using Flask, you can convert incoming webhook requests into Eventbrite\nAPI objects using the `webhook_to_object()` method:\n\n.. code-block:: python\n\n @app.route('/webhook', methods=['POST'])\n def webhook():\n\n\n # Use the API client to convert from a webhook to an API object\n api_object = eventbrite.webhook_to_object(request)\n\n # Process the API object\n if api_object.type == 'User':\n do_user_process(api_object)\n\n if api_object.type == 'Event':\n do_event_process(api_object)\n\n return \"\"\n\n.. _requests: https://pypi.python.org/pypi/requests\n.. _Eventbrite: https://www.eventbrite.com\n\n\nTODOS\n--------\n\nAbstract the HTTP calls so they can work with all of the below:\n\n* requests\n* Google's HTTP client\n* Tornado\n\nCalling different HTTP libraries::\n\n Eventbrite(OAUTH_TOKEN, \"requests\")\n Eventbrite(OAUTH_TOKEN, \"google\")\n Eventbrite(OAUTH_TOKEN, \"tornado\")\n\n\n\n\nHistory\n-------\n\n3.0.0-alpha{%d} (2014-12-04)\n-----------------------------\n\nAlpha series for initial development\n\n* Inception", "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/pydanny/eventbrite", "keywords": "eventbrite", "license": "Apache", "maintainer": null, "maintainer_email": null, "name": "workthing", "package_url": "https://pypi.org/project/workthing/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/workthing/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/pydanny/eventbrite" }, "release_url": "https://pypi.org/project/workthing/3.0.1/", "requires_dist": null, "requires_python": null, "summary": "Official Eventbrite SDK for Python", "version": "3.0.1" }, "last_serial": 1400600, "releases": { "3.0.0": [ { "comment_text": "", "digests": { "md5": "4443eaa83d254e8c8601d9982a23443f", "sha256": "b84e60cbe66b4e1d320775e50acaf25d84feb7a0633c1dc8ba94dd580e042c8a" }, "downloads": -1, "filename": "workthing-3.0.0.tar.gz", "has_sig": false, "md5_digest": "4443eaa83d254e8c8601d9982a23443f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23177, "upload_time": "2015-01-27T23:08:05", "url": "https://files.pythonhosted.org/packages/05/d0/32847f5fc9c33a9fb001cc4195f337203fa851ff6d85bba133b45d14dead/workthing-3.0.0.tar.gz" } ], "3.0.1": [ { "comment_text": "", "digests": { "md5": "981affc74ca3eab5dde7fe0e67a1fb23", "sha256": "24c62f474c88a1abf27a5c965da3e05c51dcab4f42fb5985a5255748699b130d" }, "downloads": -1, "filename": "workthing-3.0.1.tar.gz", "has_sig": false, "md5_digest": "981affc74ca3eab5dde7fe0e67a1fb23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24185, "upload_time": "2015-01-27T23:54:27", "url": "https://files.pythonhosted.org/packages/ba/68/479c4040e736826ef35800c422df355f4a9f2814780abc2dfb43f29c0162/workthing-3.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "981affc74ca3eab5dde7fe0e67a1fb23", "sha256": "24c62f474c88a1abf27a5c965da3e05c51dcab4f42fb5985a5255748699b130d" }, "downloads": -1, "filename": "workthing-3.0.1.tar.gz", "has_sig": false, "md5_digest": "981affc74ca3eab5dde7fe0e67a1fb23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24185, "upload_time": "2015-01-27T23:54:27", "url": "https://files.pythonhosted.org/packages/ba/68/479c4040e736826ef35800c422df355f4a9f2814780abc2dfb43f29c0162/workthing-3.0.1.tar.gz" } ] }