99damage 中文文档教程
99damage
A NodeJS API for liga.99damage.de
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
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");
// ...
});