Documentation / Guides
Batch requests PLANNED
Several calls in one request, answered together.
Planned, not built yet
Ask about thisThis guide describes how it will work so you can plan around it. Nothing on this page can be called today.
- Needs: a batch runner on the API host
- For: Live, Archive and Complete
How it will work: send up to 20 calls as a list; each one is answered in the same order, and each counts as one call against your allowance.
curl
curl -X POST https://api.tabletennisapi.com/v1/batch \ -H "Authorization: Bearer $TT_KEY" -H "Content-Type: application/json" \ -d '{"requests": ["/v1/players/pl_51t63nz3", "/v1/players/pl_yp1ww51h/matches"]}'