Skip to content

An API wrapper for Tanki Online ratings.

License

Notifications You must be signed in to change notification settings

Ahsany/tankionline.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


MIT


tankionline.js



An API wrapper for Tanki Online ratings.

Install

$ npm i tankionline.js

Example

// Initialize
const tankionline = require("tankionline.js");

const Ratings = new tankionline('GeopJr', 'en');

Ratings.stats().then(data => {
console.log(data)
// JSON object
console.log(data.kd)
// 2.99
}).catch(error => { console.log(error)});
// Catch errors

More info in the Wiki


info

About

An API wrapper for Tanki Online ratings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%