🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

toriapi

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

toriapi

Toribash user stats api module for NodeJS

latest
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

ToriApi

A toribash stats REST api module for NodeJS, created by Pyxel (aka Elite)

Installation

npm install toriapi or yarn add toriapi

Usage

const ToriApi = require("toriapi");
const Api = new ToriApi();

// Get information on a user
Api.getUser("elite").then(user => {
    // do stuff with the user info here
});

Api.getWars("obey", 5).then(wars => {
    // do stuff with the clan's wars
});

Api.getWarInfo("12837").then(war => {
    // do stuff with the war info
});

FAQs

Package last updated on 24 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts