1.0.3 • Published 8 years ago

ticketmaster-client v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

Ticketmaster Client SDK Build Status

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

Usage

For usage:
  1. Install npm package:

    npm install --save ticketmaster-client

  2. 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>
...
  1. 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:
  1. Clone repository:

    git clone git@github.com:KomendaP/ticketmaster-client.git

  2. Check for latest version of ticketmaster package Node SDK for the Ticketmaster and set what you need to bundle then install dependencies:

    npm install

  3. 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 or npm run-script win-prod

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!