challonge-node-ng

2.0.0 • Public • Published

challonge-node-ng

A fork of a node.js library for Challonge API.

Requirements

Tested with:

  • Node 8.7.0
  • npm 5.5.1

Installation

npm install challonge-node-ng

Usage

See tests for full usage

Setup

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>);

Create tournament

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

Testing

npm run test

License

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

Readme

Keywords

none

Package Sidebar

Install

npm i challonge-node-ng

Weekly Downloads

3

Version

2.0.0

License

MIT

Unpacked Size

26.6 kB

Total Files

11

Last publish

Collaborators

  • mastastealth