README
BloonsTD6-API
This package is a wrapper for the unofficial Bloons TD 6 API
Bloons TD 6
This is an Unoffical API Unoffical API Docs
Usage
const {BloonsTD6API} = require("@mattplays/bloonstd6-api");
const BloonsTD6API = new BloonsTD6API(); //No API Key Required
Functions
GetAllTowers
List all towers in BTD6
Output
The GetAllTowers function returns a Promise<Tower[]>
type
Usage
const BloonsTD6API = new BloonsTD6API();
BloonsTD6API.GetAllTowers().then((data) => {
// Your Code Here :D
});
GetTowerByID
Get a specific tower in BTD6.
Input
export type TowerID = "dart-monkey" | "boomerang-monkey" | "bomb-shooter" | "tack-shooter" | "ice-monkey" | "glue-gunner" | "sniper-monkey" | "monkey-sub" | "monkey-buccaneer" | "monkey-ace" | "heli-pilot" | "mortar-monkey" | "dartling-gunner" | "wizard-monkey" | "super-monkey" | "ninja-monkey" | "alchemist" | "druid" | "banana-farm" | "spike-factory" | "monkey-village" | "engineer-monkey";