get_menu
Browse sports, countries, and tournaments for live or prematch lines; get tournament IDs and match counts to choose a tournament for match listings. Omit sport ID for a full summary.
Instructions
Navigation tree sport -> country -> tournament for Live or Prematch.
Without sport_id: every sport with its number of matches, countries and tournaments. With sport_id: that sport's countries and tournaments (ids and match counts), to pick a tournament_id for list_live_matches / list_prematch_matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| esports | No | Esports instead of traditional sports (SportAPI cybersport mode). | |
| sport_id | No | Show the countries and tournaments of this sport. Omit for a summary. | |
| line_type | No | 'live' = matches in progress, 'prematch' = matches not started yet. | live |