A fork of a node.js library for Challonge API.
Tested with:
- Node 8.7.0
- npm 5.5.1
npm install challonge-node-ng
See tests for full usage
var ChallongeAPI = require('challonge-node-ng');
var challonge = ChallongeAPI.withAPIKey(<API_KEY>);
or
import ChallongeAPI from 'challonge-node-ng';
const challonge = ChallongeAPI.withAPIKey(<API_KEY>);
challonge.tournaments.create(<NAME>, <URL>).then(function(tournament) {
console.log(tournament.id);
}
npm run test
challonge-node-ng is available under the MIT license. See the LICENSE file for more info.