Node SDK for the Ticketmaster Open Platform (http://developer.ticketmaster.com/).
Aims to wrap the Ticketmaster API with coverage for all Open Platform endpoints, featuring:
- API key authentication support
- Ticketmaster OAuth2 access key support
- Promises on all requests via Bluebird
- NodeJS (v0.10 or greater)
- Include the ticketmaster npm package:
npm install --save ticketmaster
- Require the package and make an API call:
var TM = require('ticketmaster');
TM('your-api-key').discovery.v2.event.all()
.then(function(events) {
// "events" is an array of Ticketmaster event information
console.log(events);
});Alternative syntax if you are only interested in a subset of the API:
var EventAPI = require('ticketmaster').discovery.v2.event;
EventAPI('your-api-key').all()make test
Currently supports the following endpoints:
- Discovery API
- v1
- Attraction
- Find
- Category
- Find
- Event
- All
- Find
- Venue
- Find
- Attraction
- v2
- Attraction
- Find
- Event
- All
- Find
- Venue
- Find
- Attraction
- v1
The goal is to implement all endpoints available @ http://developer.ticketmaster.com/. Pull Requests gladly accepted!
[internal only] Find us in #open-platform on Ticketmaster Slack!