yorunoken / mcsr-ranked-api

An API wrapper for MCSR ranked.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mcsr-api

Usage

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 });

About

An API wrapper for MCSR ranked.

License:MIT License


Languages

Language:TypeScript 100.0%