The Blue Alliance API v3 : Typescript
Autogenerated typescript bindings for TBA API v3
Usage
import { OpenAPI, EventService } from "tba-api-v3client-ts";
// Pull TBA key from environment variable and set as header value
OpenAPI.HEADERS = {
"X-TBA-Auth-Key": process.env.TBA_KEY,
};
const event = await EventService.getEvent("2020miket");
console.log(event);