Documentation / Endpoints / Matches
/v1/results/yesterday
Yesterday's finished matches, every event. On every plan.
GEThttps://api.tabletennisapi.com/v1/results/yesterday
Plans:Free keyLiveArchiveComplete On the free key, games, duration_s and table come back as null
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/results/yesterdayA 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/results/yesterday
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/results/yesterday \
-H "Authorization: Bearer $TT_KEY"Python
import os, requests res = requests.get("https://api.tabletennisapi.com/v1/results/yesterday", headers={"Authorization": "Bearer " + os.environ["TT_KEY"]}).json()
Answers come back as data and meta; errors as error. See Errors and Pagination.