tt-live-client
v1.1.5
Published
Unofficial JS client for tischtennislive.de.
Downloads
13
Readme
tt-live-client
Unofficial JS client for tischtennislive.de.
Installation
The package is hosted on npm, and contains a build for browsers.
<script src="/dist/bundle.js"></script>
<script src="https://unpkg.com/tt-live-client/dist/bundle.js"></script>
Afterwards, you can access the module under the global name TTlive
.
API
leagueTable(url, selector)
Renders a league's table ("Ergebnistabelle") to a given DOM node.
// Example
TTlive.leagueTable("https://leipzig.tischtennislive.de/Export/default.aspx?LigaID=10155&Format=XML&SportArt=96&Area=Tabelle", "#my-table");