Promotional API
Base URL
You can get promotional API base URL from promoApiBaseUrl property in window.serverData object described in Promotional materials section.
Endpoints
Upcoming matches
List upcoming matches for league
Parameters:
- site_id (String) REQUIRED: Site ID from
site_idproperty inwindow.serverDataobject - league_id (Number) REQUIRED: League ID can be obtained from Tools -> Promo Materials -> Landing Leagues section of Admin Panel.
- language_code (String) REQUIRED: Two-letter language code. You can use
visitorData.languageCodeproperty inwindow.serverDataobject
Payload: