tt-live-client

1.1.5 • Public • Published

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");

Readme

Keywords

none

Package Sidebar

Install

npm i tt-live-client

Weekly Downloads

1

Version

1.1.5

License

ISC

Unpacked Size

168 kB

Total Files

8

Last publish

Collaborators

  • czosel