Skip to main content

python client for Eventbrite's HTTP-based API

Project description


A simple python-based http client for the Eventbrite API

For the latest information on this project, take a look at:

Usage Examples


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 -

Set your user_key if you want to access private data -

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})


Rendering an event in html as a ticketWidget is easy:

response = eb_client.event_get({'id':1848891083})
widget_html = eventbrite.EventbriteWidgets.ticketWidget(response['event'])

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for eventbrite, version 0.45
Filename, size File type Python version Upload date Hashes
Filename, size eventbrite-0.45-py2.7.egg (11.8 kB) File type Egg Python version 2.7 Upload date Hashes View hashes
Filename, size eventbrite-0.45.tar.gz (8.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page