Use this page to find the id of a competition or a team from its name, and to search matches by name.
The ids are what the filters on Filtering games take.
1. Find a competition
Search competitions with q, which ignores case and accents. The id of a result is what /matches takes as competition.
Step: Find a competition, from "Searching teams and competitions" in the OddsYorkie API documentation.
Write code in this project that does this step and prints or uses the result.
Request: GET https://odds-feed.on-forge.com/api/v2/competitions?q=premier
Read the key from the ODDSYORKIE_KEY environment variable and send it as "Authorization: Bearer <key>". Never write the key into code.
Read https://odds-feed.on-forge.com/docs/searching-teams-and-competitions.md for this step first. Then read https://odds-feed.on-forge.com/docs/llms-full.txt for the rest of the API and https://odds-feed.on-forge.com/docs/AGENTS.md for the rules to follow.
Step: Find a team, from "Searching teams and competitions" in the OddsYorkie API documentation.
Write code in this project that does this step and prints or uses the result.
Request: GET https://odds-feed.on-forge.com/api/v2/teams?q=brentford
Read the key from the ODDSYORKIE_KEY environment variable and send it as "Authorization: Bearer <key>". Never write the key into code.
Read https://odds-feed.on-forge.com/docs/searching-teams-and-competitions.md for this step first. Then read https://odds-feed.on-forge.com/docs/llms-full.txt for the rest of the API and https://odds-feed.on-forge.com/docs/AGENTS.md for the rules to follow.
Step: Search matches by name, from "Searching teams and competitions" in the OddsYorkie API documentation.
Write code in this project that does this step and prints or uses the result.
Request: GET https://odds-feed.on-forge.com/api/v2/matches?q=sunderland
Read the key from the ODDSYORKIE_KEY environment variable and send it as "Authorization: Bearer <key>". Never write the key into code.
Read https://odds-feed.on-forge.com/docs/searching-teams-and-competitions.md for this step first. Then read https://odds-feed.on-forge.com/docs/llms-full.txt for the rest of the API and https://odds-feed.on-forge.com/docs/AGENTS.md for the rules to follow.
Step: Read one competition, from "Searching teams and competitions" in the OddsYorkie API documentation.
Write code in this project that does this step and prints or uses the result.
Request: GET https://odds-feed.on-forge.com/api/v2/competitions/0199c5a0-0000-7000-9000-000000000001
Read the key from the ODDSYORKIE_KEY environment variable and send it as "Authorization: Bearer <key>". Never write the key into code.
Read https://odds-feed.on-forge.com/docs/searching-teams-and-competitions.md for this step first. Then read https://odds-feed.on-forge.com/docs/llms-full.txt for the rest of the API and https://odds-feed.on-forge.com/docs/AGENTS.md for the rules to follow.
Step: Read one team, from "Searching teams and competitions" in the OddsYorkie API documentation.
Write code in this project that does this step and prints or uses the result.
Request: GET https://odds-feed.on-forge.com/api/v2/teams/0199c5a0-0000-7000-8000-000000000001
Read the key from the ODDSYORKIE_KEY environment variable and send it as "Authorization: Bearer <key>". Never write the key into code.
Read https://odds-feed.on-forge.com/docs/searching-teams-and-competitions.md for this step first. Then read https://odds-feed.on-forge.com/docs/llms-full.txt for the rest of the API and https://odds-feed.on-forge.com/docs/AGENTS.md for the rules to follow.