V2 API Schedule
Get Full Motorsport Schedule by League and Season
List the full seasons schedule for a league using its unique ID.
get/schedule/league/{idLeague}/{season}
Request
- Base URLhttps://www.thesportsdb.com/api/v2/json
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idLeagueinteger required
The ID of the league to get the full schedule for.
seasonstring required
The season to get the full schedule for.
Response
Full schedule of motorsport events for the specified league and season
Example response
{
"schedule": [
{
"strSport": "Motorsport"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.