1.0.3 • Published 3 years ago
BTD6 API WRAPPER
A wrapper for the StatsNite BTD6 API.
Installation
To install:
npm install btd6-api-wrapper
To import:
var btd6Api = require('btd6-api-wrapper')
Docs
getTowers()
Param | Type | Default | Description |
---|
idOnly | bool | false | Specifies wether to return all towers or only tower ids |
getTower()
Param | Type | Default | Description |
---|
towerID | string | | Specifies the id of the tower to return |
getHeroes()
Param | Type | Default | Description |
---|
idOnly | bool | false | Specifies wether to return all heroes or only hero ids |
getHero()
Param | Type | Default | Description |
---|
heroID | string | | Specifies the id of the hero to return |
getBloons()
Param | Type | Default | Description |
---|
idOnly | bool | false | Specifies wether to return all Bloons or only Bloon ids |
getBloon()
Param | Type | Default | Description |
---|
bloonID | string | | Specifies the id of the Bloon to return |