erlc-wrapper
v0.0.3
Published
A wrapper for ER:LC's API; Interacts with private servers
Downloads
15
Readme
erlc-wrapper
Getting Started
import { erlc } from 'erlc-wrapper'
erlc.setKey("API-KEY")
console.log(await erlc.joinLogs());
console.log(await erlc.serverStatus());
console.log(await erlc.getQueue());
console.log(await erlc.getModCalls());
console.log(await erlc.getKillLogs());
NOTE THAT THERE MUST BE A 5 SECOND DELAY IN-BETWEEN CALLS PER PRC'S API LIMITS