mcsr-api
v1.1.1
Published
A JavaScript wrapper for the MCSR Ranked API.
Downloads
2
Readme
mcsr-api
Usage
Documentation
Installation
npm install mcsr-api
Functions
const { MCSR } = require("mcsr-api");
var api = new MCSR();
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 });