99damage

A NodeJS API for liga.99damage.de

Usage no npm install needed!

<script type="module">
  import 9damage from 'https://cdn.skypack.dev/99damage';
</script>

README

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