A javascript library to use the VTTL table tennis API in the browser
npm install vttl-api
import { provinces, getClubs } from 'vttl-api';
for (let province of provinces) {
let clubs = await getClubs({ ClubCategory: province.id });
}
Objects:
- provinces
- categories
Functions:
- getClubs
- getTeams
- getMembers
- getRanking
- getMatches
- getSeasons
- getDivisions
- getTournaments
These functions are mapped to the official TabT API for which documentation can be found here