Documentation / Endpoints / Matches
/v1/live
Matches being played now, with the game in progress. Refreshed about every 10 seconds.
GEThttps://api.tabletennisapi.com/v1/live
Plans:LiveComplete
Parameters
| Name | In | Type | Required | What it does | Example |
|---|---|---|---|---|---|
discipline | query | string | optional | MS, WS, MD, WD, XD; teams MT, WT, XT | MS |
Run it live
GET /v1/liveA real call to the API, from your browser
Your key stays in this page: it is sent only to api.tabletennisapi.com and never stored. Left empty, the call runs on a free key with its dates and fields, 20 calls a minute.
GEThttps://api.tabletennisapi.com/v1/live
Not run yet
Press Run it to see the answer here.
Response
The same Match objects as GET /v1/matches, which shows a real answer. This one changes from minute to minute: press Run it to see it now.
Example
curl
curl https://api.tabletennisapi.com/v1/live \
-H "Authorization: Bearer $TT_KEY"Python
import os, requests res = requests.get("https://api.tabletennisapi.com/v1/live", headers={"Authorization": "Bearer " + os.environ["TT_KEY"]}).json()
Answers come back as data and meta; errors as error. See Errors and Pagination.