tba

A Node.js wrapper for The Blue Alliance API

Usage no npm install needed!

<script type="module">
  import tba from 'https://cdn.skypack.dev/tba';
</script>

README

TBA.js

A Node.js Wrapper for The Blue Alliance API


Overview

TBA.js offers a simple means of accessing The Blue Alliance API through Node.js. Methods are included for every API request type and are returned in JSON using a callback function.

Getting Started

Installation

The easiest way to install TBA is using npm

npm install tba

Initialization

TBA.js can be called by

var tba = require('tba')('team/person id','app description','version');

Or alternatively using an object

var tba = require('tba')({id:"team/person id", description:"app description", version:"version"});

Important note: ids, descriptions, and version numbers are required by The Blue Alliance API and thus are required to initialize TBA.js.