1.0.3 • Published 8 years ago
ticketmaster-client v1.0.3
Ticketmaster Client SDK
Client SDK for the Ticketmaster Open Platform, based on Node SDK for the Ticketmaster.
Aims to wrap the Ticketmaster API with coverage for all Open Platform endpoints, featuring:
- API key authentication support
- Ticketmaster OAuth2 access key support
System Requirements for rebild source
- NodeJS (v0.10 or greater),
- Ticketmaster (v0.5.0 or greater),
- Webpack (v1.13.1 or greater)
- json-loader for webpack (v0.5.4 or greater)
Usage
For usage:
Install npm package:
npm install --save ticketmaster-client
Include one of two following files to your project:
- bundle.js (raw with source-maps)
- bundle.min.js (minified)
...
<script src="ticketmaster-client-[version].js"></script>
<script src="ticketmaster-client-[version].min.js"></script>
...
- Use global TMAPI
...
TMAPI(apiKey, accessToken) {method}
TMAPI.discovery.v1(apiKey, accessToken) {method}
TMAPI.discovery.v2(apiKey, accessToken) {method}
TMAPI.commerce.v2(apiKey, accessToken) {method}
...
For rebuild source:
Clone repository:
git clone git@github.com:KomendaP/ticketmaster-client.git
Check for latest version of ticketmaster package Node SDK for the Ticketmaster and set what you need to bundle then install dependencies:
npm install
Run npm script:
- for raw (with source-maps) version of client lib use:
npm run-script dev
- for minified version of client lib use:
npm run-script prod
ornpm run-script win-prod
- for raw (with source-maps) version of client lib use:
Running Tests
Tests are part of Node SDK package
Status
- based on ticketmaster v0.5.0
The goal is to implement client version of Node SDK for the Ticketmaster. Pull Requests gladly accepted!
Contact Us
internal only Find us in #open-platform on Ticketmaster Slack!