Skip to content

Tracking the Same Team Across Mutliple Leagues and Tournaments

David edited this page Aug 30, 2025 · 1 revision

Soccer teams often play in multiple leagues, friendlies, and tournaments. Because each of these have a separate value for league_path, it was necessary to set up a separate sensor for each value.

ESPN has introduced a new value for league_path. The value all can be used for the league_path when configuring a custom API. When the value all is used, the API will return the games for the specified team from all of the multiple leagues, friendlies, and tournaments the team plays in. When using all, it is important to use the unique 3 or 4 digit ESPN team ID for the team_id value. Other values such as team abbreviations are not unique across leagues and could return unexpected results.

Thanks to @rad1n5ky for this discovery.

Clone this wiki locally