Skip to main content

pyhton client for Eventbrite's HTTP-based API

Project description

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

Project details


Download files

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

Source Distribution

eventbrite-0.40.tar.gz (7.2 kB view details)

Uploaded Source

Built Distributions

eventbrite-0.40.linux-i686.tar.gz (9.1 kB view details)

Uploaded Source

eventbrite-0.40-py2.6.egg (11.7 kB view details)

Uploaded Source

File details

Details for the file eventbrite-0.40.tar.gz.

File metadata

  • Download URL: eventbrite-0.40.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for eventbrite-0.40.tar.gz
Algorithm Hash digest
SHA256 d3322297012fa1911a2ae4ca4698da1b0e370e52b61ffabd956a4b8037ae9c87
MD5 7286353b0e8bf7aa1528f4855fff31be
BLAKE2b-256 5be3b11e820f016349146247cf5d815eb6e4fc9a8d84cbcf7b42bd591dca50e3

See more details on using hashes here.

File details

Details for the file eventbrite-0.40.linux-i686.tar.gz.

File metadata

File hashes

Hashes for eventbrite-0.40.linux-i686.tar.gz
Algorithm Hash digest
SHA256 a4159436fc28ab6f36b65017f4486567223f6063142f8235d7262617d9ebc3ee
MD5 c94889d4ad552b130a83a440255ae493
BLAKE2b-256 1c1a5279eb7d0910bfb10ffd001653bd5ae1df6593f7a986f5a05d8e5988cd3f

See more details on using hashes here.

File details

Details for the file eventbrite-0.40-py2.6.egg.

File metadata

File hashes

Hashes for eventbrite-0.40-py2.6.egg
Algorithm Hash digest
SHA256 c36b4e62adc0bbb30791d6a8c93dd7ea8de9444f7355847982398ad2bdd4e046
MD5 42f7c95662742f8ff6601a127bc3e849
BLAKE2b-256 1d22051ef11371d8f3f34dc258da2155d8a13210fe60d95958097247bcb6ef5e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page