1.0.2 • Published 7 years ago

challonge-node v1.0.2

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

challonge-node

A node.js library for Challonge API

Requirements

Tested with:

  • Node 6.8.1
  • npm 2.15.1

Installation

npm install --save challonge-node

Usage

See tests for full usage

Setup

var ChallongeAPI = require('challonge-node');
var challonge = ChallongeAPI.withAPIKey(<API_KEY>);

or

import ChallongeAPI from 'challonge-node';
const challonge = ChallongeAPI.withAPIKey(<API_KEY>);

Create tournament

challonge.tournaments.create(<NAME>, <URL>).then(function(tournament) {
  console.log(tournament.id);
}

Testing

npm run test

License

challonge-node is available under the MIT license. See the LICENSE file for more info.

1.0.2

7 years ago

1.0.1

8 years ago

1.0.0

8 years ago