4. Detailed Methods for Ranks - GeopJr/tankionline.js GitHub Wiki

For this page, I will assume the example code is this:

Rank.then(data => {
//data.method
}).catch(error => { console.log(error)});

Basic info

.rank.name
//responds with the rank name
.rank.image
//responds with the rank image