SiegeGG API
This package is a small library built for interation with the SiegeGG API. The package features full support for community and enterprise features. You can find details on the API here.
Usage
Before you start using this library, you need to register a SiegeGG account, if you have not already one, and then create an API application at the dev hub. There you will obtain an API token that authorizes your application.
const SiegeGGApiClient = ; const api = // replace a_random_token with your obtained API token token: 'a_random_token'; // using Promises api; // Denmark api ; // or using async/await let player = await app;console; // Denmark let articles = await app;let authors = articlesdata;console; // [TheRussianEwok, Boxi, ChankaNewsNetwork, ...]
License
AGPL-v3.0