Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding OAuth2 init notes to README

  • Loading branch information...
commit 5006cd6198f9c2c3741052926a2c6a14dafc272d 1 parent bce9bbe
@ryanj ryanj authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 README.md
View
5 README.md
@@ -27,6 +27,11 @@ Set your user_key if you want to access private data - http://eventbrite.com/use
user_key: 'YOUR_USER_KEY'}
eb_client = EventbriteClient.new(eb_auth_tokens)
+###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 = EventbriteClient.new({access_token: 'YOUR_USER_ACCESS_TOKEN'})
+
###Calling API methods###
See [Eventbrite's API method documentation](http://developer.eventbrite.com/doc/) for more information about the list of available client methods.
Please sign in to comment.
Something went wrong with that request. Please try again.