eventbrite-node v0.1.0
eventbrite-node is Eventbrite API client for node.js.
Installation
$ npm install --save eventbrite-node
Configuration
var Eventbrite = ; var client = YOUR-CLIENT-KEY YOUR-CLIENT-SECRET;
Authentication
If you have an access token from other module you can set it directly:
client.setAccessToken(YOUR-ACCESS-TOKEN);
otherwise you have to get it and you can do it with eventbrite-node
// first you have to redirect user to authorization p var authUrl = client; res; // next, you retrive code from query string and exchange it for access token client;
API calls
If you have correct access token, you can make api calls
client;
or POST
request
client;
Promises
If you prefer promises you can use them
client ; client; client;