mcsr-ranked-api
TypeScript icon, indicating that this package has built-in type declarations

2.1.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i mcsr-ranked-api

Weekly Downloads

0

Version

2.1.4

License

MIT

Unpacked Size

19.8 kB

Total Files

57

Last publish

Collaborators

  • yorunoken