0.0.2 • Published 4 months ago
challonger v0.0.2
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();