vttl-api
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

VTTL-API

A javascript library to use the VTTL table tennis API in the browser

npm install vttl-api

Basic usage

import { provinces, getClubs } from 'vttl-api';

for (let province of provinces) {
	let clubs = await getClubs({ ClubCategory: province.id });
}

Exports

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

Readme

Keywords

none

Package Sidebar

Install

npm i vttl-api

Weekly Downloads

0

Version

1.3.2

License

MIT

Unpacked Size

77 kB

Total Files

7

Last publish

Collaborators

  • subhero