Whapi Sportsdata
Connector for the whapi-sportsdata API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://sandbox.whapi.com/v2/sportsdata - Auth:
bearer(pass your key via theapiKeyinput)
Operations
getcompetitionsforclass— GET /classes/{classId}/competitions/ — Retrieves a list of competitions for a given class id.geteventsforclass— GET /classes/{classId}/events/ — Retrieves a list of events for a given class id.getcompetition— GET /competitions/{competitionId} — Retrieves a specific competitiongeteventsforcompetition— GET /competitions/{competitionId}/events/ — Retrieves a list of events for a given competition id.getmarketgroupsforcompetition— GET /competitions/{competitionId}/marketgroups/ — Retrieves a list of market groups for a given competition idgetmarketsbygroupid— GET /competitions/{competitionId}/marketsByGroupid — Retrieves a list of events/markets/selections where markets within said event match selected sort/groupId
Inputs
apiKey— your whapi-sportsdata API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: getcompetitionsforclass
apiKey: <your key>