Metadata-Version: 1.1
Name: workthing
Version: 3.0.1
Summary: Official Eventbrite SDK for Python
Home-page: https://github.com/pydanny/eventbrite
Author: Daniel Greenfeld, Bartek Ogryczak
Author-email: danny@eventbrite.com
License: Apache
Description: ===============================
        eventbrite-sdk-python
        ===============================
        
        .. image:: https://badge.fury.io/py/eventbrite.png
            :target: http://badge.fury.io/py/eventbrite
        
        .. image:: https://travis-ci.org/eventbrite/eventbrite-sdk-python.svg?branch=master
                :target: https://travis-ci.org/eventbrite/eventbrite-sdk-python
        
        .. image:: https://pypip.in/d/eventbrite/badge.png
                :target: https://pypi.python.org/pypi/eventbrite
        
        
        Official Eventbrite_ SDK for Python
        
        * Free software: Apache 2 license
        * Documentation: https://eventbrite.readthedocs.org.
        
        Usage
        --------
        
        The Eventbrite Python SDK makes it trivial to interact with the Eventbrite API:
        
        .. code-block:: python
        
            >>> from eventbrite import Eventbrite
            >>> eventbrite = Eventbrite('my-oauth-token')
            >>> user = eventbrite.get_user()  # Not passing an argument returns yourself
            >>> user['id']
            1234567890
            >>> user['name']
            Daniel Roy Greenfeld
        
        You can also specify API endpoints manually:
        
        .. code-block:: python
        
            >>> user = eventbrite.get('/users/me')
            >>> user['id']
            1234567890
            >>> user['name']
            Daniel Roy Greenfeld
        
        Usage with Frameworks
        ----------------------
        
        When using Flask, you can convert incoming webhook requests into Eventbrite
        API objects using the `webhook_to_object()` method:
        
        .. code-block:: python
        
            @app.route('/webhook', methods=['POST'])
            def webhook():
        
        
                # Use the API client to convert from a webhook to an API object
                api_object = eventbrite.webhook_to_object(request)
        
                # Process the API object
                if api_object.type == 'User':
                    do_user_process(api_object)
        
                if api_object.type == 'Event':
                    do_event_process(api_object)
        
                return ""
        
        .. _requests: https://pypi.python.org/pypi/requests
        .. _Eventbrite: https://www.eventbrite.com
        
        
        TODOS
        --------
        
        Abstract the HTTP calls so they can work with all of the below:
        
        * requests
        * Google's HTTP client
        * Tornado
        
        Calling different HTTP libraries::
        
            Eventbrite(OAUTH_TOKEN, "requests")
            Eventbrite(OAUTH_TOKEN, "google")
            Eventbrite(OAUTH_TOKEN, "tornado")
        
        
        
        
        History
        -------
        
        3.0.0-alpha{%d} (2014-12-04)
        -----------------------------
        
        Alpha series for initial development
        
        * Inception
        
Keywords: eventbrite
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
