A fork of a node.js library for the Challonge API
npm install challonge-node-ngA fork of a node.js library for Challonge API.
js
npm install challonge-node-ng
`$3
See tests for full usage#### Setup
`js
var ChallongeAPI = require('challonge-node-ng');
var challonge = ChallongeAPI.withAPIKey();
`
or
`js
import ChallongeAPI from 'challonge-node-ng';
const challonge = ChallongeAPI.withAPIKey();
`#### Create tournament
`js
challonge.tournaments.create(, ).then(function(tournament) {
console.log(tournament.id);
}
`Testing
`js
npm run test
``challonge-node-ng is available under the MIT license. See the LICENSE file for more info.