1.1.0 • Published 4 years ago

sldbts v1.1.0

Weekly downloads
6
License
unlicense
Repository
github
Last release
4 years ago

SLDBTS

A TypeScript abstraction wrapper arround SLDB's XMLRPC endpoint

Usage

npm i --save sldbts

import { SLDBClient } from "sldbts";

(async () => {
    const client = new SLDBClient({
        host: "sldb.coolsite.com",
        port: 8300,
        username: "xmlrpcUsername",
        password: "xmlrpcPassword"
    });

    const leaderboards = await client.getLeaderboards("BYAR", ["Duel", "Team"]);
})();