Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A tiny EventBrite API client for ruby
Pull request Compare This branch is even with ryanj:master.
Latest commit 73f5586 ryan jarvinen Merge pull request #6 from spawngrid/xml-data_type
Adds :data_type option to EventbriteClient init



A tiny ruby-based http client for the Eventbrite API

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

Usage Examples

Installation via rubygems

gem install eventbrite-client

Loading the Eventbrite API Client library code

require 'eventbrite-client'

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_APP_KEY',
                   user_key: 'YOUR_USER_KEY'}
eb_client =

Initializing the client using an OAuth2.0 access_token

You can also initialize our API client using an OAuth2.0 access_token, like this:

eb_client ={ access_token: 'YOUR_USER_ACCESS_TOKEN'})

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 = EventbriteWidgets::ticketWidget(response['event'])

Additional widget examples are available on


Something went wrong with that request. Please try again.