Use this page to read a list that is longer than one page.
Every list endpoint pages the same way, with an opaque cursor.
1. Read the first page
A list holds up to limit items. The default is 100 and the maximum is 500 for matches, competitions and teams. When meta.has_more is true, there is another page.
Step: Read the first page, from "Paging with cursors" 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?status=scheduled&limit=2
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/paging-with-cursors.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.
Send meta.next_cursor back as cursor with the same filters, and keep going until has_more is false. Treat the cursor as opaque and never build one yourself.
Step: Read the next page, from "Paging with cursors" 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?status=scheduled&limit=2&cursor=YOUR_CURSOR
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/paging-with-cursors.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.