99damage 中文文档教程

发布于 4年前 浏览 29 项目主页 更新于 3年前

99damage

A NodeJS API for liga.99damage.de

npm npm

How to install

npm install 99damage

How to use

import { Csgo99Damage } from "99damage/lib/99damage";

Csgo99Damage.login("username", "password").then(async (user) => {
    var season = await user.getCurrentSeason();
    var match = await user.getCurrentMatch();
    var division21Teams = await Csgo99Damage.getTeamsByDivision("2.1");
    var starter20Teams = await Csgo99Damage.getTeamsByDivision("Starter 20");
    var division1Teams = await Csgo99Damage.getTeamsByDivision("1");
    // ...
});

99damage

A NodeJS API for liga.99damage.de

npmnpm

How to install

npm install 99damage

How to use

import { Csgo99Damage } from "99damage/lib/99damage";

Csgo99Damage.login("username", "password").then(async (user) => {
    var season = await user.getCurrentSeason();
    var match = await user.getCurrentMatch();
    var division21Teams = await Csgo99Damage.getTeamsByDivision("2.1");
    var starter20Teams = await Csgo99Damage.getTeamsByDivision("Starter 20");
    var division1Teams = await Csgo99Damage.getTeamsByDivision("1");
    // ...
});
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文