subscribeToUpcomingCompetitionsWithSport
This API establishes a real-time subscription to a filtered stream of sports data. It is designed to populate sports navigation menus and tournament pickers, ensuring that the UI only displays regions and leagues that currently have upcoming events. Structure will include sport -> region -> competition.
Documentation
Try it now
Request parameters:
Call example:
subscribeToUpcomingCompetitionsWithSport({
sportAlias: 'Nascar'
})Response examples:
{
sport: {
'33': {
id: 33,
region: {
'50033': {
alias: 'North America',
order: 1,
name: 'North America',
id: 50033,
competition: {
'15534': {
id: 19883,
name: 'Australian Open - Women. Outright',
order: 3329,
group: 'Grand Slam Women',
groups: {
'23': 'Outright',
'27': 'International Spain',
'52': 'Grand Slam Women'
}
}
}
}
}
}
}
}