0.0.2 • Published 4 months ago

challonger v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Challonger, An API wrapper for challonge.com API

const { Challonge, TourneyConfig } = require("challonge.js");

async function start() {
    const config = {
        responseType: TourneyConfig.ResponseType.JSON
    }
    const tourney = new Challonge({ apiKey: "your api key" }, config);
}
start();

or

const { Challonge, TourneyConfig } = require("challonge.js");

async function start() {
    const config = {
        responseType: TourneyConfig.ResponseType.XML
    }
    const tourney = new Challonge({ username: "your username", password: "your password"}, config);
}
start();
0.0.2

4 months ago

0.0.1

4 months ago