1.0.3 • Published 3 years ago

btd6-api-wrapper v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
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()

ParamTypeDefaultDescription
idOnlyboolfalseSpecifies wether to return all towers or only tower ids

getTower()

ParamTypeDefaultDescription
towerIDstringSpecifies the id of the tower to return

getHeroes()

ParamTypeDefaultDescription
idOnlyboolfalseSpecifies wether to return all heroes or only hero ids

getHero()

ParamTypeDefaultDescription
heroIDstringSpecifies the id of the hero to return

getBloons()

ParamTypeDefaultDescription
idOnlyboolfalseSpecifies wether to return all Bloons or only Bloon ids

getBloon()

ParamTypeDefaultDescription
bloonIDstringSpecifies the id of the Bloon to return
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago