mcsr-ranked-api
v2.1.4
Published
A JavaScript wrapper for the MCSR Ranked API.
Downloads
20
Readme
mcsr-api
Usage
Documentation
Installation
npm install mcsr-ranked-api
Functions
const { ranked_api } = require("mcsr-ranked-api");
var api = new ranked_api();
const user = await api.getUserStats("user");
const user_versus = await api.getUserVersus("user1", "user2");
const leaderboard = await api.getGlobalLeaderboard();
const user_match = await api.getRecentMatch("user", { match_type, page, count });
const user_match_versus = await api.getVersusMatch("user1", "user2", { match_type, page, count });