eventbrite 0.30
pyhton client for Eventbrite's HTTP-based API
Latest Version: 0.43
Description
A simple python-based http client for the Eventbrite API
For the latest information on this project, take a look at:
Usage Examples
Installation
NOTE: This package requires a JSON library - by default we check for "simplejson" or use the built-in "json" library provided in python 2.6+
Installation using easy_install:
easy_install eventbrite
Installation using pip:
pip install eventbrite
Loading the Eventbrite API Client library code
import eventbrite
Initializing the client
Your API / Application key is required to initialize the client - http://eventbrite.com/api/key
Set your user_key if you want to access private data - http://eventbrite.com/userkeyapii
eb_auth_tokens = {'app_key': 'YOUR_API_KEY',
'user_key': 'YOUR_USER_KEY'}
eb_client = eventbrite.EventbriteClient(eb_auth_tokens)
Calling API methods
See Eventbrite's API method documentation for more information about the list of available client methods.
Here is an example using the API's user_list_events method:
response = eb_client.user_list_events()
The event_get API call should look like this:
response = eb_client.event_get({'id':1848891083})
Widgets
Rendering an event in html as a ticketWidget is easy:
response = eb_client.event_get({'id':1848891083})
widget_html = eventbrite.EventbriteWidgets.ticketWidget(response['event'])
Resources
- API Documentation - http://developer.eventbrite.com/doc
- API QuickStart Guide - http://developer.eventbrite.com/doc/getting-started
- Eventbrite Open Source - http://eventbrite.github.com
- Eventbrite App Showcase - http://eventbrite.appstores.com
- 0.3x source - http://github.com/eventbrite/eventbrite-client-py
- 0.2x source - http://github.com/mtai/eventbrite
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| eventbrite-0.30-py2.6.egg (md5) | Python Egg | 2.6 | 2011-08-24 | 9KB | 361 |
- Author: Ryan Jarvinen
- Home Page: http://github.com/eventbrite/eventbrite-client-py
- License: Apache
-
Categories
- Development Status :: 4 - Beta
- Environment :: Web Environment
- Intended Audience :: Developers
- License :: OSI Approved :: Apache Software License
- Natural Language :: English
- Operating System :: OS Independent
- Programming Language :: Python
- Programming Language :: Python :: 2.5
- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 2.7
- Topic :: Software Development :: Libraries :: Python Modules
- Topic :: Software Development :: Object Brokering
- Package Index Owner: mtai, eventbrite
- DOAP record: eventbrite-0.30.xml
