crawlora-cricbuzz 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/README.md +8 -2
- data/lib/crawlora/cricbuzz/client.rb +27 -3
- data/lib/crawlora/cricbuzz/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a86a1ed67fc0c78a9653c11a9f6438952bc453e8bf296b4ec2208df4cbc9868
|
|
4
|
+
data.tar.gz: 3b43a04064afedbde2597f572aa03eadc33d8b91694e9feb3240ec52bd404992
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e1e516d4f76872f1dd809c9f9696a0dd9145c8c9d12662c3a258ff01a1dabdc5fa2161cec1a6580eeb9ce501bdd7a0d9ba809ec2291eec71195de3e7b88deb2
|
|
7
|
+
data.tar.gz: 00e6d9c3c26e55497bc298fbc72f815d1b885c3a1b1ac4775952322d9d4b131f4a1d139f24cda69af8aaa7c213c6041ecc3a3a3443e829825d2ebda7df9c3bd0
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Crawlora Cricbuzz API client for Ruby (`crawlora-cricbuzz`)
|
|
2
2
|
|
|
3
|
-
This Ruby gem calls Crawlora's hosted Cricbuzz API at `https://api.crawlora.net/api/v1`. It exposes
|
|
3
|
+
This Ruby gem calls Crawlora's hosted Cricbuzz API at `https://api.crawlora.net/api/v1`. It exposes 35 endpoints covering cricket matches, schedules, news, rankings, series, and records; it does not call or scrape Cricbuzz directly. Requests require your Crawlora API key and use your account's service plan.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -20,7 +20,7 @@ puts result
|
|
|
20
20
|
client.close
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Use an operation-specific method for normal calls. `request(operation_id, params = {}, response_type: :auto)` is available for every operation. `response_type: :text` returns raw response text. This gem includes
|
|
23
|
+
Use an operation-specific method for normal calls. `request(operation_id, params = {}, response_type: :auto)` is available for every operation. `response_type: :text` returns raw response text. This gem includes 35 API operations.
|
|
24
24
|
|
|
25
25
|
```ruby
|
|
26
26
|
client = Crawlora::Cricbuzz::Client.new(api_key: ENV.fetch("CRAWLORA_API_KEY"), timeout: 30)
|
|
@@ -39,6 +39,8 @@ Browse every route included in this gem. The [endpoint reference](https://github
|
|
|
39
39
|
| `GET` | `/cricbuzz/archives` | `cricbuzz-archives` | Discover Cricbuzz archive years and series |
|
|
40
40
|
| `GET` | `/cricbuzz/auction/info` | `cricbuzz-auction-info` | Get the Cricbuzz auction guide |
|
|
41
41
|
| `GET` | `/cricbuzz/auction/live` | `cricbuzz-auction-live` | Get the current Cricbuzz auction Live-tab payload |
|
|
42
|
+
| `GET` | `/cricbuzz/auction/live-blog` | `cricbuzz-auction-live-blog` | Get an edition's auction Live Blog article |
|
|
43
|
+
| `GET` | `/cricbuzz/auction/news` | `cricbuzz-auction-news` | Get an edition's Cricbuzz Auction News cards |
|
|
42
44
|
| `GET` | `/cricbuzz/auction/options` | `cricbuzz-auction-options` | Discover Cricbuzz auction filters and sort values |
|
|
43
45
|
| `GET` | `/cricbuzz/auction/player` | `cricbuzz-auction-player-detail` | Get a Cricbuzz auction player profile and earnings |
|
|
44
46
|
| `GET` | `/cricbuzz/auction/player-search` | `cricbuzz-auction-player-search` | Search Cricbuzz auction players |
|
|
@@ -49,11 +51,13 @@ Browse every route included in this gem. The [endpoint reference](https://github
|
|
|
49
51
|
| `GET` | `/cricbuzz/auction/teams/options` | `cricbuzz-auction-teams-options` | Discover Cricbuzz auction teams and sort values |
|
|
50
52
|
| `GET` | `/cricbuzz/auction/upcoming` | `cricbuzz-auction-upcoming` | Get filtered Cricbuzz unauctioned players |
|
|
51
53
|
| `GET` | `/cricbuzz/auction/upcoming/options` | `cricbuzz-auction-upcoming-options` | Discover Cricbuzz unauctioned-player filters |
|
|
54
|
+
| `GET` | `/cricbuzz/auction/videos` | `cricbuzz-auction-videos` | Get an edition's Cricbuzz Auction Videos cards |
|
|
52
55
|
| `GET` | `/cricbuzz/match-facts` | `cricbuzz-match-facts` | Get Cricbuzz match information and squads |
|
|
53
56
|
| `GET` | `/cricbuzz/match-graphs` | `cricbuzz-match-graphs` | Get numeric Cricbuzz match graphs |
|
|
54
57
|
| `GET` | `/cricbuzz/match-overs` | `cricbuzz-match-overs` | Get Cricbuzz over summaries |
|
|
55
58
|
| `GET` | `/cricbuzz/matches` | `cricbuzz-matches` | List Cricbuzz live, recent, or upcoming matches |
|
|
56
59
|
| `GET` | `/cricbuzz/navigation` | `cricbuzz-navigation` | Discover Cricbuzz top-level menus and dropdown links |
|
|
60
|
+
| `GET` | `/cricbuzz/news/story` | `cricbuzz-news-story` | Get a public Cricbuzz NewsArticle and its tags |
|
|
57
61
|
| `GET` | `/cricbuzz/news/topics` | `cricbuzz-news-topics` | Discover Cricbuzz News sections and topics |
|
|
58
62
|
| `GET` | `/cricbuzz/rankings` | `cricbuzz-rankings` | Get an ICC ranking table from Cricbuzz |
|
|
59
63
|
| `GET` | `/cricbuzz/records` | `cricbuzz-records` | Discover Cricbuzz record topics and filter values |
|
|
@@ -61,6 +65,8 @@ Browse every route included in this gem. The [endpoint reference](https://github
|
|
|
61
65
|
| `GET` | `/cricbuzz/scorecard` | `cricbuzz-scorecard` | Get a Cricbuzz match scorecard |
|
|
62
66
|
| `GET` | `/cricbuzz/series` | `cricbuzz-series` | Discover Cricbuzz current and future series |
|
|
63
67
|
| `GET` | `/cricbuzz/series/stats` | `cricbuzz-series-stats` | Discover Cricbuzz series statistics |
|
|
68
|
+
| `GET` | `/cricbuzz/team/stats` | `cricbuzz-team-stats` | Fetch one team statistics table |
|
|
69
|
+
| `GET` | `/cricbuzz/team/stats/options` | `cricbuzz-team-stats-options` | Discover team statistics topics and filters |
|
|
64
70
|
| `GET` | `/cricbuzz/teams` | `cricbuzz-teams` | Discover Cricbuzz teams |
|
|
65
71
|
| `GET` | `/cricbuzz/videos/categories` | `cricbuzz-video-categories` | Discover Cricbuzz video categories |
|
|
66
72
|
| `GET` | `/cricbuzz/videos/playlists` | `cricbuzz-video-playlists` | Discover Cricbuzz video playlists |
|
|
@@ -19,17 +19,17 @@ module Crawlora
|
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
OPERATIONS = JSON.parse(<<~'JSON').freeze
|
|
22
|
-
{"cricbuzz-archives": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-archives", "method": "GET", "params": [{"description": "Archive year from the years array in the response", "in": "query", "name": "year", "type": "integer", "x-example": 2026}, {"description": "Archive series category; omit for all categories", "enum": ["international", "league", "domestic", "women"], "in": "query", "name": "category", "type": "string", "x-example": "international"}, {"description": "Optional local case-insensitive substring search over selected-year series, up to 100 characters", "in": "query", "name": "q", "type": "string", "x-example": "india"}], "path": "/cricbuzz/archives", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "year", "type": "integer"}, {"enum": ["international", "league", "domestic", "women"], "in": "query", "name": "category", "type": "string"}, {"in": "query", "name": "q", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-info": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-info", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw; defaults to ipl when both tournament/year are omitted", "in": "query", "name": "tournament", "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026; defaults to 2026 when both tournament/year are omitted", "in": "query", "name": "year", "type": "string", "x-example": "2027"}], "path": "/cricbuzz/auction/info", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "type": "string"}, {"in": "query", "name": "year", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-live": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-live", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2027"}, {"description": "Currency accepted by the selected edition: INR, USD, EUR, GBP, AUD, CAD, NZD, AED, ZAR, PKR, LKR, BDT, NPR", "in": "query", "name": "currency", "required": true, "type": "string", "x-example": "ZAR"}], "path": "/cricbuzz/auction/live", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "currency", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-options": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-options", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons; current values: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "type": "string", "x-example": "ipl"}, {"description": "Edition from cricbuzz/auction/seasons: ipl 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; wpl 2023, 2024, 2025, 2026, 2027; sa20 2027; hunm 2026; hunw 2026", "in": "query", "name": "year", "type": "string", "x-example": "2026"}], "path": "/cricbuzz/auction/options", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "type": "string"}, {"in": "query", "name": "year", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-player-detail": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-player-detail", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2027"}, {"description": "Currency accepted by the selected edition: INR, USD, EUR, GBP, AUD, CAD, NZD, AED, ZAR, PKR, LKR, BDT, NPR", "in": "query", "name": "currency", "required": true, "type": "string", "x-example": "ZAR"}, {"description": "Positive Cricbuzz player ID from an auction player result or team roster", "in": "query", "name": "player_id", "required": true, "type": "integer", "x-example": 8512}], "path": "/cricbuzz/auction/player", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "currency", "required": true, "type": "string"}, {"in": "query", "name": "player_id", "required": true, "type": "integer"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-player-search": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-player-search", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2027"}, {"description": "3-100 ASCII English letters or spaces", "in": "query", "name": "q", "required": true, "type": "string", "x-example": "Jamie"}], "path": "/cricbuzz/auction/player-search", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "q", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-results": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-results", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons; current values: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "ipl"}, {"description": "Edition from cricbuzz/auction/seasons: ipl 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; wpl 2023, 2024, 2025, 2026, 2027; sa20 2027; hunm 2026; hunw 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2026"}, {"description": "Currency code from the selected edition: INR, USD, EUR, GBP, AUD, CAD, NZD, AED, ZAR, PKR, LKR, BDT, NPR", "in": "query", "name": "currency", "required": true, "type": "string", "x-example": "INR"}, {"description": "One-based page number; defaults to 1", "in": "query", "name": "page", "type": "integer", "x-example": 1}, {"description": "Comma-separated Country IDs from cricbuzz/auction/options; current IPL 2026 values: 96, 4, 6, 26, 9, 8, 2, 27, 527, 303, 14, 161, 72, 24, 13, 3, 23, 190, 11, 5, 384, 7, 15, 10, 12", "in": "query", "name": "country_ids", "type": "string", "x-example": "2,4"}, {"description": "Comma-separated Status values from cricbuzz/auction/options; current IPL 2026 values: Sold, Unsold, Retained, RTM, Drafted, Replacement, Traded, Wild Card", "in": "query", "name": "statuses", "type": "string", "x-example": "Sold,Unsold"}, {"description": "One Team ID from cricbuzz/auction/options; current IPL 2026 values: 58, 59, 61, 62, 63, 64, 65, 255, 966, 971", "in": "query", "name": "team_id", "type": "string", "x-example": "59"}, {"description": "One Role from cricbuzz/auction/options; current values: Batter, Bowler, Allrounder, WK-Batter", "in": "query", "name": "role", "type": "string", "x-example": "Allrounder"}, {"description": "One Cap value from cricbuzz/auction/options; current values: Capped, Uncapped", "in": "query", "name": "cap", "type": "string", "x-example": "Uncapped"}, {"description": "Displayed Sort label from cricbuzz/auction/options; current values: Recent, Featured, Base Price: High to Low, Base Price: Low to High, Final Price: High to Low, Final Price: Low to High", "in": "query", "name": "sort", "type": "string", "x-example": "Recent"}], "path": "/cricbuzz/auction/results", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "currency", "required": true, "type": "string"}, {"in": "query", "name": "page", "type": "integer"}, {"in": "query", "name": "country_ids", "type": "string"}, {"in": "query", "name": "statuses", "type": "string"}, {"in": "query", "name": "team_id", "type": "string"}, {"in": "query", "name": "role", "type": "string"}, {"in": "query", "name": "cap", "type": "string"}, {"in": "query", "name": "sort", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-seasons": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-seasons", "method": "GET", "params": [], "path": "/cricbuzz/auction/seasons", "pathParams": [], "produces": ["application/json"], "queryParams": [], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-team-detail": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-team-detail", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2027"}, {"description": "Currency accepted by the selected edition: INR, USD, EUR, GBP, AUD, CAD, NZD, AED, ZAR, PKR, LKR, BDT, NPR", "in": "query", "name": "currency", "required": true, "type": "string", "x-example": "ZAR"}, {"description": "Team ID returned by auction/teams/options for the selected edition", "in": "query", "name": "team_id", "required": true, "type": "integer", "x-example": 1242}], "path": "/cricbuzz/auction/team", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "currency", "required": true, "type": "string"}, {"in": "query", "name": "team_id", "required": true, "type": "integer"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-teams": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-teams", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2027"}, {"description": "Currency accepted by the selected edition: INR, USD, EUR, GBP, AUD, CAD, NZD, AED, ZAR, PKR, LKR, BDT, NPR", "in": "query", "name": "currency", "required": true, "type": "string", "x-example": "ZAR"}, {"description": "Sort label from auction/teams/options: Alphabetical, Spent: High to Low, Spent: Low to High, Remaining: High to Low, Remaining: Low to High, Players: High to Low, Players: Low to High; defaults to the upstream default", "in": "query", "name": "sort", "type": "string", "x-example": "Spent: High to Low"}], "path": "/cricbuzz/auction/teams", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "currency", "required": true, "type": "string"}, {"in": "query", "name": "sort", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-teams-options": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-teams-options", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw; defaults to ipl when both tournament/year are omitted", "in": "query", "name": "tournament", "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026; defaults to 2026 when both tournament/year are omitted", "in": "query", "name": "year", "type": "string", "x-example": "2027"}], "path": "/cricbuzz/auction/teams/options", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "type": "string"}, {"in": "query", "name": "year", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-upcoming": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-upcoming", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2027"}, {"description": "Currency accepted by the selected edition: INR, USD, EUR, GBP, AUD, CAD, NZD, AED, ZAR, PKR, LKR, BDT, NPR", "in": "query", "name": "currency", "required": true, "type": "string", "x-example": "ZAR"}, {"description": "One-based page number; defaults to 1", "in": "query", "name": "page", "type": "integer", "x-example": 1}, {"description": "Comma-separated exact Country option values from auction/upcoming/options; SA20 2027 labels: Afghanistan, Australia, Bangladesh, Canada, England, Hong Kong China, India, Ireland, Italy, Jersey, Kenya, Namibia, Nepal, Netherlands, New Zealand, Pakistan, Scotland, Singapore, South Africa, Sri Lanka, Thailand, United Arab Emirates, United States of America, West Indies, Zimbabwe", "in": "query", "name": "country_ids", "type": "string", "x-example": "9"}, {"description": "Exact Role option value from auction/upcoming/options; SA20 2027 labels: All, Batter, Bowler, All Rounder, WK Batter", "in": "query", "name": "role", "type": "string", "x-example": "Allrounder"}, {"description": "Exact Cap option value from auction/upcoming/options; values: Capped, Uncapped", "in": "query", "name": "cap", "type": "string", "x-example": "Uncapped"}, {"description": "Sort label from auction/upcoming/options: Base Price: High to Low, Base Price: Low to High", "in": "query", "name": "sort", "type": "string", "x-example": "Base Price: High to Low"}], "path": "/cricbuzz/auction/upcoming", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "currency", "required": true, "type": "string"}, {"in": "query", "name": "page", "type": "integer"}, {"in": "query", "name": "country_ids", "type": "string"}, {"in": "query", "name": "role", "type": "string"}, {"in": "query", "name": "cap", "type": "string"}, {"in": "query", "name": "sort", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-upcoming-options": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-upcoming-options", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw; defaults to ipl when both tournament/year are omitted", "in": "query", "name": "tournament", "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026; defaults to 2026 when both tournament/year are omitted", "in": "query", "name": "year", "type": "string", "x-example": "2027"}], "path": "/cricbuzz/auction/upcoming/options", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "type": "string"}, {"in": "query", "name": "year", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-match-facts": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-match-facts", "method": "GET", "params": [{"description": "Canonical Cricbuzz live-cricket-scores URL returned by /cricbuzz/matches", "in": "query", "name": "match_url", "required": true, "type": "string", "x-example": "https://www.cricbuzz.com/live-cricket-scores/172701/afg-vs-zim-1st-t20i-afghanistan-vs-zimbabwe-in-uae-2026"}], "path": "/cricbuzz/match-facts", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "match_url", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-match-graphs": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-match-graphs", "method": "GET", "params": [{"description": "Canonical Cricbuzz live-cricket-scores URL returned by /cricbuzz/matches", "in": "query", "name": "match_url", "required": true, "type": "string", "x-example": "https://www.cricbuzz.com/live-cricket-scores/172701/afg-vs-zim-1st-t20i-afghanistan-vs-zimbabwe-in-uae-2026"}], "path": "/cricbuzz/match-graphs", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "match_url", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-match-overs": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-match-overs", "method": "GET", "params": [{"description": "Canonical Cricbuzz live-cricket-scores URL returned by /cricbuzz/matches", "in": "query", "name": "match_url", "required": true, "type": "string", "x-example": "https://www.cricbuzz.com/live-cricket-scores/172701/afg-vs-zim-1st-t20i-afghanistan-vs-zimbabwe-in-uae-2026"}], "path": "/cricbuzz/match-overs", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "match_url", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-matches": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-matches", "method": "GET", "params": [{"description": "Match-list status; defaults to live", "enum": ["live", "recent", "upcoming"], "in": "query", "name": "status", "type": "string", "x-example": "live"}, {"description": "Match category; defaults to all", "enum": ["all", "international", "league", "domestic", "women"], "in": "query", "name": "category", "type": "string", "x-example": "international"}], "path": "/cricbuzz/matches", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["live", "recent", "upcoming"], "in": "query", "name": "status", "type": "string"}, {"enum": ["all", "international", "league", "domestic", "women"], "in": "query", "name": "category", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-navigation": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-navigation", "method": "GET", "params": [], "path": "/cricbuzz/navigation", "pathParams": [], "produces": ["application/json"], "queryParams": [], "security": ["ApiKeyAuth"]}, "cricbuzz-news-topics": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-news-topics", "method": "GET", "params": [{"description": "Optional case-insensitive substring search over topic title, description, and slug, up to 100 characters", "in": "query", "name": "q", "type": "string", "x-example": "auction"}], "path": "/cricbuzz/news/topics", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "q", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-rankings": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-rankings", "method": "GET", "params": [{"description": "Ranking gender; defaults to men", "enum": ["men", "women"], "in": "query", "name": "gender", "type": "string", "x-example": "men"}, {"description": "Ranking table type; defaults to batting", "enum": ["batting", "bowling", "all-rounder", "teams"], "in": "query", "name": "type", "type": "string", "x-example": "batting"}, {"description": "Ranking format; defaults to the page's selected format. The valid set depends on gender.", "enum": ["test", "odi", "t20"], "in": "query", "name": "format", "type": "string", "x-example": "odi"}], "path": "/cricbuzz/rankings", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["men", "women"], "in": "query", "name": "gender", "type": "string"}, {"enum": ["batting", "bowling", "all-rounder", "teams"], "in": "query", "name": "type", "type": "string"}, {"enum": ["test", "odi", "t20"], "in": "query", "name": "format", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-records": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-records", "method": "GET", "params": [{"description": "Record topic; defaults to mostRuns", "enum": ["mostRuns", "highestScore", "highestAvg", "highestSr", "mostHundreds", "mostFifties", "mostFours", "mostSixes", "mostNineties", "mostWickets", "lowestAvg", "bestBowlingInnings", "mostFiveWickets", "lowestEcon", "lowestSr"], "in": "query", "name": "stat", "type": "string", "x-example": "mostRuns"}, {"description": "Match format label; defaults to the current table format", "enum": ["test", "odi", "t20"], "in": "query", "name": "format", "type": "string", "x-example": "test"}, {"description": "Year value from the page's dynamically discovered Year options", "in": "query", "name": "year", "type": "string", "x-example": "2026"}, {"description": "Team ID from the page's dynamically discovered Team options", "in": "query", "name": "team", "type": "string", "x-example": "2"}, {"description": "Opponent ID from the page's dynamically discovered Oppn options", "in": "query", "name": "opponent", "type": "string", "x-example": "4"}], "path": "/cricbuzz/records", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["mostRuns", "highestScore", "highestAvg", "highestSr", "mostHundreds", "mostFifties", "mostFours", "mostSixes", "mostNineties", "mostWickets", "lowestAvg", "bestBowlingInnings", "mostFiveWickets", "lowestEcon", "lowestSr"], "in": "query", "name": "stat", "type": "string"}, {"enum": ["test", "odi", "t20"], "in": "query", "name": "format", "type": "string"}, {"in": "query", "name": "year", "type": "string"}, {"in": "query", "name": "team", "type": "string"}, {"in": "query", "name": "opponent", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-schedule": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-schedule", "method": "GET", "params": [{"description": "Schedule category; defaults to all", "enum": ["all", "international", "league", "domestic", "women"], "in": "query", "name": "category", "type": "string", "x-example": "all"}, {"description": "Optional case-insensitive substring search over series, match descriptions, and team names, up to 100 characters", "in": "query", "name": "q", "type": "string", "x-example": "wellington"}], "path": "/cricbuzz/schedule", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["all", "international", "league", "domestic", "women"], "in": "query", "name": "category", "type": "string"}, {"in": "query", "name": "q", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-scorecard": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-scorecard", "method": "GET", "params": [{"description": "Canonical Cricbuzz live-cricket-scores URL returned by /cricbuzz/matches", "in": "query", "name": "match_url", "required": true, "type": "string", "x-example": "https://www.cricbuzz.com/live-cricket-scores/172701/afg-vs-zim-1st-t20i-afghanistan-vs-zimbabwe-in-uae-2026"}], "path": "/cricbuzz/scorecard", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "match_url", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-series": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-series", "method": "GET", "params": [{"description": "Series category; defaults to all", "enum": ["all", "international", "domestic", "league", "women"], "in": "query", "name": "category", "type": "string", "x-example": "all"}, {"description": "Restrict to Cricbuzz's Live Streaming page filter", "in": "query", "name": "live_stream", "type": "boolean", "x-example": false}, {"description": "Optional local substring search over series names, up to 100 characters", "in": "query", "name": "q", "type": "string", "x-example": "ashes"}], "path": "/cricbuzz/series", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["all", "international", "domestic", "league", "women"], "in": "query", "name": "category", "type": "string"}, {"in": "query", "name": "live_stream", "type": "boolean"}, {"in": "query", "name": "q", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-series-stats": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-series-stats", "method": "GET", "params": [{"description": "Canonical series URL returned by /cricbuzz/series", "in": "query", "name": "series_url", "required": true, "type": "string"}, {"description": "Stat topic; defaults to the currently selected topic", "enum": ["mostRuns", "highestScore", "highestAvg", "highestSr", "mostHundreds", "mostFifties", "mostFours", "mostSixes", "mostNineties", "mostWickets", "lowestAvg", "bestBowlingInnings", "mostFiveWickets", "lowestEcon", "lowestSr"], "in": "query", "name": "stat", "type": "string", "x-example": "mostRuns"}, {"description": "Format ID from the response's dynamic formats list; defaults to the current page selection", "in": "query", "name": "format", "type": "string", "x-example": "1"}], "path": "/cricbuzz/series/stats", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "series_url", "required": true, "type": "string"}, {"enum": ["mostRuns", "highestScore", "highestAvg", "highestSr", "mostHundreds", "mostFifties", "mostFours", "mostSixes", "mostNineties", "mostWickets", "lowestAvg", "bestBowlingInnings", "mostFiveWickets", "lowestEcon", "lowestSr"], "in": "query", "name": "stat", "type": "string"}, {"in": "query", "name": "format", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-teams": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-teams", "method": "GET", "params": [{"description": "Team directory category; defaults to international", "enum": ["international", "domestic", "league", "women"], "in": "query", "name": "category", "type": "string", "x-example": "international"}, {"description": "Optional local substring search over team names, up to 100 characters", "in": "query", "name": "q", "type": "string", "x-example": "india"}], "path": "/cricbuzz/teams", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["international", "domestic", "league", "women"], "in": "query", "name": "category", "type": "string"}, {"in": "query", "name": "q", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-video-categories": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-video-categories", "method": "GET", "params": [], "path": "/cricbuzz/videos/categories", "pathParams": [], "produces": ["application/json"], "queryParams": [], "security": ["ApiKeyAuth"]}, "cricbuzz-video-playlists": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-video-playlists", "method": "GET", "params": [], "path": "/cricbuzz/videos/playlists", "pathParams": [], "produces": ["application/json"], "queryParams": [], "security": ["ApiKeyAuth"]}, "cricbuzz-wtc": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-wtc", "method": "GET", "params": [], "path": "/cricbuzz/wtc", "pathParams": [], "produces": ["application/json"], "queryParams": [], "security": ["ApiKeyAuth"]}}
|
|
22
|
+
{"cricbuzz-archives": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-archives", "method": "GET", "params": [{"description": "Archive year from the years array in the response", "in": "query", "name": "year", "type": "integer", "x-example": 2026}, {"description": "Archive series category; omit for all categories", "enum": ["international", "league", "domestic", "women"], "in": "query", "name": "category", "type": "string", "x-example": "international"}, {"description": "Optional local case-insensitive substring search over selected-year series, up to 100 characters", "in": "query", "name": "q", "type": "string", "x-example": "india"}], "path": "/cricbuzz/archives", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "year", "type": "integer"}, {"enum": ["international", "league", "domestic", "women"], "in": "query", "name": "category", "type": "string"}, {"in": "query", "name": "q", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-info": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-info", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw; defaults to ipl when both tournament/year are omitted", "in": "query", "name": "tournament", "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026; defaults to 2026 when both tournament/year are omitted", "in": "query", "name": "year", "type": "string", "x-example": "2027"}], "path": "/cricbuzz/auction/info", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "type": "string"}, {"in": "query", "name": "year", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-live": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-live", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2027"}, {"description": "Currency accepted by the selected edition: INR, USD, EUR, GBP, AUD, CAD, NZD, AED, ZAR, PKR, LKR, BDT, NPR", "in": "query", "name": "currency", "required": true, "type": "string", "x-example": "ZAR"}], "path": "/cricbuzz/auction/live", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "currency", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-live-blog": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-live-blog", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "ipl"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2026"}], "path": "/cricbuzz/auction/live-blog", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-news": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-news", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2027"}], "path": "/cricbuzz/auction/news", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-options": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-options", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons; current values: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "type": "string", "x-example": "ipl"}, {"description": "Edition from cricbuzz/auction/seasons: ipl 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; wpl 2023, 2024, 2025, 2026, 2027; sa20 2027; hunm 2026; hunw 2026", "in": "query", "name": "year", "type": "string", "x-example": "2026"}], "path": "/cricbuzz/auction/options", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "type": "string"}, {"in": "query", "name": "year", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-player-detail": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-player-detail", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2027"}, {"description": "Currency accepted by the selected edition: INR, USD, EUR, GBP, AUD, CAD, NZD, AED, ZAR, PKR, LKR, BDT, NPR", "in": "query", "name": "currency", "required": true, "type": "string", "x-example": "ZAR"}, {"description": "Positive Cricbuzz player ID from an auction player result or team roster", "in": "query", "name": "player_id", "required": true, "type": "integer", "x-example": 8512}], "path": "/cricbuzz/auction/player", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "currency", "required": true, "type": "string"}, {"in": "query", "name": "player_id", "required": true, "type": "integer"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-player-search": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-player-search", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2027"}, {"description": "3-100 ASCII English letters or spaces", "in": "query", "name": "q", "required": true, "type": "string", "x-example": "Jamie"}], "path": "/cricbuzz/auction/player-search", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "q", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-results": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-results", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons; current values: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "ipl"}, {"description": "Edition from cricbuzz/auction/seasons: ipl 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; wpl 2023, 2024, 2025, 2026, 2027; sa20 2027; hunm 2026; hunw 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2026"}, {"description": "Currency code from the selected edition: INR, USD, EUR, GBP, AUD, CAD, NZD, AED, ZAR, PKR, LKR, BDT, NPR", "in": "query", "name": "currency", "required": true, "type": "string", "x-example": "INR"}, {"description": "One-based page number; defaults to 1", "in": "query", "name": "page", "type": "integer", "x-example": 1}, {"description": "Comma-separated Country IDs from cricbuzz/auction/options; current IPL 2026 values: 96, 4, 6, 26, 9, 8, 2, 27, 527, 303, 14, 161, 72, 24, 13, 3, 23, 190, 11, 5, 384, 7, 15, 10, 12", "in": "query", "name": "country_ids", "type": "string", "x-example": "2,4"}, {"description": "Comma-separated Status values from cricbuzz/auction/options; current IPL 2026 values: Sold, Unsold, Retained, RTM, Drafted, Replacement, Traded, Wild Card", "in": "query", "name": "statuses", "type": "string", "x-example": "Sold,Unsold"}, {"description": "One Team ID from cricbuzz/auction/options; current IPL 2026 values: 58, 59, 61, 62, 63, 64, 65, 255, 966, 971", "in": "query", "name": "team_id", "type": "string", "x-example": "59"}, {"description": "One Role from cricbuzz/auction/options; current values: Batter, Bowler, Allrounder, WK-Batter", "in": "query", "name": "role", "type": "string", "x-example": "Allrounder"}, {"description": "One Cap value from cricbuzz/auction/options; current values: Capped, Uncapped", "in": "query", "name": "cap", "type": "string", "x-example": "Uncapped"}, {"description": "Displayed Sort label from cricbuzz/auction/options; current values: Recent, Featured, Base Price: High to Low, Base Price: Low to High, Final Price: High to Low, Final Price: Low to High", "in": "query", "name": "sort", "type": "string", "x-example": "Recent"}], "path": "/cricbuzz/auction/results", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "currency", "required": true, "type": "string"}, {"in": "query", "name": "page", "type": "integer"}, {"in": "query", "name": "country_ids", "type": "string"}, {"in": "query", "name": "statuses", "type": "string"}, {"in": "query", "name": "team_id", "type": "string"}, {"in": "query", "name": "role", "type": "string"}, {"in": "query", "name": "cap", "type": "string"}, {"in": "query", "name": "sort", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-seasons": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-seasons", "method": "GET", "params": [], "path": "/cricbuzz/auction/seasons", "pathParams": [], "produces": ["application/json"], "queryParams": [], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-team-detail": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-team-detail", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2027"}, {"description": "Currency accepted by the selected edition: INR, USD, EUR, GBP, AUD, CAD, NZD, AED, ZAR, PKR, LKR, BDT, NPR", "in": "query", "name": "currency", "required": true, "type": "string", "x-example": "ZAR"}, {"description": "Team ID returned by auction/teams/options for the selected edition", "in": "query", "name": "team_id", "required": true, "type": "integer", "x-example": 1242}], "path": "/cricbuzz/auction/team", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "currency", "required": true, "type": "string"}, {"in": "query", "name": "team_id", "required": true, "type": "integer"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-teams": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-teams", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2027"}, {"description": "Currency accepted by the selected edition: INR, USD, EUR, GBP, AUD, CAD, NZD, AED, ZAR, PKR, LKR, BDT, NPR", "in": "query", "name": "currency", "required": true, "type": "string", "x-example": "ZAR"}, {"description": "Sort label from auction/teams/options: Alphabetical, Spent: High to Low, Spent: Low to High, Remaining: High to Low, Remaining: Low to High, Players: High to Low, Players: Low to High; defaults to the upstream default", "in": "query", "name": "sort", "type": "string", "x-example": "Spent: High to Low"}], "path": "/cricbuzz/auction/teams", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "currency", "required": true, "type": "string"}, {"in": "query", "name": "sort", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-teams-options": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-teams-options", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw; defaults to ipl when both tournament/year are omitted", "in": "query", "name": "tournament", "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026; defaults to 2026 when both tournament/year are omitted", "in": "query", "name": "year", "type": "string", "x-example": "2027"}], "path": "/cricbuzz/auction/teams/options", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "type": "string"}, {"in": "query", "name": "year", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-upcoming": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-upcoming", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2027"}, {"description": "Currency accepted by the selected edition: INR, USD, EUR, GBP, AUD, CAD, NZD, AED, ZAR, PKR, LKR, BDT, NPR", "in": "query", "name": "currency", "required": true, "type": "string", "x-example": "ZAR"}, {"description": "One-based page number; defaults to 1", "in": "query", "name": "page", "type": "integer", "x-example": 1}, {"description": "Comma-separated exact Country option values from auction/upcoming/options; SA20 2027 labels: Afghanistan, Australia, Bangladesh, Canada, England, Hong Kong China, India, Ireland, Italy, Jersey, Kenya, Namibia, Nepal, Netherlands, New Zealand, Pakistan, Scotland, Singapore, South Africa, Sri Lanka, Thailand, United Arab Emirates, United States of America, West Indies, Zimbabwe", "in": "query", "name": "country_ids", "type": "string", "x-example": "9"}, {"description": "Exact Role option value from auction/upcoming/options; SA20 2027 labels: All, Batter, Bowler, All Rounder, WK Batter", "in": "query", "name": "role", "type": "string", "x-example": "Allrounder"}, {"description": "Exact Cap option value from auction/upcoming/options; values: Capped, Uncapped", "in": "query", "name": "cap", "type": "string", "x-example": "Uncapped"}, {"description": "Sort label from auction/upcoming/options: Base Price: High to Low, Base Price: Low to High", "in": "query", "name": "sort", "type": "string", "x-example": "Base Price: High to Low"}], "path": "/cricbuzz/auction/upcoming", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "currency", "required": true, "type": "string"}, {"in": "query", "name": "page", "type": "integer"}, {"in": "query", "name": "country_ids", "type": "string"}, {"in": "query", "name": "role", "type": "string"}, {"in": "query", "name": "cap", "type": "string"}, {"in": "query", "name": "sort", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-upcoming-options": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-upcoming-options", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw; defaults to ipl when both tournament/year are omitted", "in": "query", "name": "tournament", "type": "string", "x-example": "sa20"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026; defaults to 2026 when both tournament/year are omitted", "in": "query", "name": "year", "type": "string", "x-example": "2027"}], "path": "/cricbuzz/auction/upcoming/options", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "type": "string"}, {"in": "query", "name": "year", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-auction-videos": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-auction-videos", "method": "GET", "params": [{"description": "Tournament identifier from cricbuzz/auction/seasons: ipl, wpl, sa20, hunm, hunw", "in": "query", "name": "tournament", "required": true, "type": "string", "x-example": "ipl"}, {"description": "Edition from cricbuzz/auction/seasons: IPL 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026; WPL 2023, 2024, 2025, 2026, 2027; SA20 2027; HUNM 2026; HUNW 2026", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2026"}], "path": "/cricbuzz/auction/videos", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tournament", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-match-facts": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-match-facts", "method": "GET", "params": [{"description": "Canonical Cricbuzz live-cricket-scores URL returned by /cricbuzz/matches", "in": "query", "name": "match_url", "required": true, "type": "string", "x-example": "https://www.cricbuzz.com/live-cricket-scores/172701/afg-vs-zim-1st-t20i-afghanistan-vs-zimbabwe-in-uae-2026"}], "path": "/cricbuzz/match-facts", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "match_url", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-match-graphs": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-match-graphs", "method": "GET", "params": [{"description": "Canonical Cricbuzz live-cricket-scores URL returned by /cricbuzz/matches", "in": "query", "name": "match_url", "required": true, "type": "string", "x-example": "https://www.cricbuzz.com/live-cricket-scores/172701/afg-vs-zim-1st-t20i-afghanistan-vs-zimbabwe-in-uae-2026"}], "path": "/cricbuzz/match-graphs", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "match_url", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-match-overs": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-match-overs", "method": "GET", "params": [{"description": "Canonical Cricbuzz live-cricket-scores URL returned by /cricbuzz/matches", "in": "query", "name": "match_url", "required": true, "type": "string", "x-example": "https://www.cricbuzz.com/live-cricket-scores/172701/afg-vs-zim-1st-t20i-afghanistan-vs-zimbabwe-in-uae-2026"}], "path": "/cricbuzz/match-overs", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "match_url", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-matches": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-matches", "method": "GET", "params": [{"description": "Match-list status; defaults to live", "enum": ["live", "recent", "upcoming"], "in": "query", "name": "status", "type": "string", "x-example": "live"}, {"description": "Match category; defaults to all", "enum": ["all", "international", "league", "domestic", "women"], "in": "query", "name": "category", "type": "string", "x-example": "international"}], "path": "/cricbuzz/matches", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["live", "recent", "upcoming"], "in": "query", "name": "status", "type": "string"}, {"enum": ["all", "international", "league", "domestic", "women"], "in": "query", "name": "category", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-navigation": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-navigation", "method": "GET", "params": [], "path": "/cricbuzz/navigation", "pathParams": [], "produces": ["application/json"], "queryParams": [], "security": ["ApiKeyAuth"]}, "cricbuzz-news-story": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-news-story", "method": "GET", "params": [{"description": "Canonical public Cricbuzz story URL: https://www.cricbuzz.com/cricket-news/{numeric_id}/{slug}", "in": "query", "name": "url", "required": true, "type": "string", "x-example": "https://www.cricbuzz.com/cricket-news/136912/live-blog-ipl-2026-player-auction"}], "path": "/cricbuzz/news/story", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "url", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-news-topics": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-news-topics", "method": "GET", "params": [{"description": "Optional case-insensitive substring search over topic title, description, and slug, up to 100 characters", "in": "query", "name": "q", "type": "string", "x-example": "auction"}], "path": "/cricbuzz/news/topics", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "q", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-rankings": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-rankings", "method": "GET", "params": [{"description": "Ranking gender; defaults to men", "enum": ["men", "women"], "in": "query", "name": "gender", "type": "string", "x-example": "men"}, {"description": "Ranking table type; defaults to batting", "enum": ["batting", "bowling", "all-rounder", "teams"], "in": "query", "name": "type", "type": "string", "x-example": "batting"}, {"description": "Ranking format; defaults to the page's selected format. The valid set depends on gender.", "enum": ["test", "odi", "t20"], "in": "query", "name": "format", "type": "string", "x-example": "odi"}], "path": "/cricbuzz/rankings", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["men", "women"], "in": "query", "name": "gender", "type": "string"}, {"enum": ["batting", "bowling", "all-rounder", "teams"], "in": "query", "name": "type", "type": "string"}, {"enum": ["test", "odi", "t20"], "in": "query", "name": "format", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-records": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-records", "method": "GET", "params": [{"description": "Record topic; defaults to mostRuns", "enum": ["mostRuns", "highestScore", "highestAvg", "highestSr", "mostHundreds", "mostFifties", "mostFours", "mostSixes", "mostNineties", "mostWickets", "lowestAvg", "bestBowlingInnings", "mostFiveWickets", "lowestEcon", "lowestSr"], "in": "query", "name": "stat", "type": "string", "x-example": "mostRuns"}, {"description": "Match format label; defaults to the current table format", "enum": ["test", "odi", "t20"], "in": "query", "name": "format", "type": "string", "x-example": "test"}, {"description": "Year value from the page's dynamically discovered Year options", "in": "query", "name": "year", "type": "string", "x-example": "2026"}, {"description": "Team ID from the page's dynamically discovered Team options", "in": "query", "name": "team", "type": "string", "x-example": "2"}, {"description": "Opponent ID from the page's dynamically discovered Oppn options", "in": "query", "name": "opponent", "type": "string", "x-example": "4"}], "path": "/cricbuzz/records", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["mostRuns", "highestScore", "highestAvg", "highestSr", "mostHundreds", "mostFifties", "mostFours", "mostSixes", "mostNineties", "mostWickets", "lowestAvg", "bestBowlingInnings", "mostFiveWickets", "lowestEcon", "lowestSr"], "in": "query", "name": "stat", "type": "string"}, {"enum": ["test", "odi", "t20"], "in": "query", "name": "format", "type": "string"}, {"in": "query", "name": "year", "type": "string"}, {"in": "query", "name": "team", "type": "string"}, {"in": "query", "name": "opponent", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-schedule": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-schedule", "method": "GET", "params": [{"description": "Schedule category; defaults to all", "enum": ["all", "international", "league", "domestic", "women"], "in": "query", "name": "category", "type": "string", "x-example": "all"}, {"description": "Optional case-insensitive substring search over series, match descriptions, and team names, up to 100 characters", "in": "query", "name": "q", "type": "string", "x-example": "wellington"}], "path": "/cricbuzz/schedule", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["all", "international", "league", "domestic", "women"], "in": "query", "name": "category", "type": "string"}, {"in": "query", "name": "q", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-scorecard": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-scorecard", "method": "GET", "params": [{"description": "Canonical Cricbuzz live-cricket-scores URL returned by /cricbuzz/matches", "in": "query", "name": "match_url", "required": true, "type": "string", "x-example": "https://www.cricbuzz.com/live-cricket-scores/172701/afg-vs-zim-1st-t20i-afghanistan-vs-zimbabwe-in-uae-2026"}], "path": "/cricbuzz/scorecard", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "match_url", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-series": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-series", "method": "GET", "params": [{"description": "Series category; defaults to all", "enum": ["all", "international", "domestic", "league", "women"], "in": "query", "name": "category", "type": "string", "x-example": "all"}, {"description": "Restrict to Cricbuzz's Live Streaming page filter", "in": "query", "name": "live_stream", "type": "boolean", "x-example": false}, {"description": "Optional local substring search over series names, up to 100 characters", "in": "query", "name": "q", "type": "string", "x-example": "ashes"}], "path": "/cricbuzz/series", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["all", "international", "domestic", "league", "women"], "in": "query", "name": "category", "type": "string"}, {"in": "query", "name": "live_stream", "type": "boolean"}, {"in": "query", "name": "q", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-series-stats": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-series-stats", "method": "GET", "params": [{"description": "Canonical series URL returned by /cricbuzz/series", "in": "query", "name": "series_url", "required": true, "type": "string", "x-example": "https://www.cricbuzz.com/cricket-series/11595/australia-tour-of-south-africa-2026/matches"}, {"description": "Stat topic; defaults to the currently selected topic", "enum": ["mostRuns", "highestScore", "highestAvg", "highestSr", "mostHundreds", "mostFifties", "mostFours", "mostSixes", "mostNineties", "mostWickets", "lowestAvg", "bestBowlingInnings", "mostFiveWickets", "lowestEcon", "lowestSr"], "in": "query", "name": "stat", "type": "string", "x-example": "mostRuns"}, {"description": "Format ID from the response's dynamic formats list; defaults to the current page selection", "in": "query", "name": "format", "type": "string", "x-example": "1"}], "path": "/cricbuzz/series/stats", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "series_url", "required": true, "type": "string"}, {"enum": ["mostRuns", "highestScore", "highestAvg", "highestSr", "mostHundreds", "mostFifties", "mostFours", "mostSixes", "mostNineties", "mostWickets", "lowestAvg", "bestBowlingInnings", "mostFiveWickets", "lowestEcon", "lowestSr"], "in": "query", "name": "stat", "type": "string"}, {"in": "query", "name": "format", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-team-stats": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-team-stats", "method": "GET", "params": [{"description": "Team-directory category from /cricbuzz/teams", "enum": ["international", "domestic", "league", "women"], "in": "query", "name": "category", "required": true, "type": "string", "x-example": "international"}, {"description": "Team ID returned by /cricbuzz/teams for the selected category", "in": "query", "name": "team_id", "required": true, "type": "integer", "x-example": 2}, {"description": "A value returned for the selected team by /cricbuzz/team/stats/options; current India values are mostRuns, highestScore, highestAvg, highestSr, mostHundreds, mostFifties, mostFours, mostSixes, mostNineties, mostWickets, lowestAvg, bestBowlingInnings, mostFiveWickets, lowestEcon, lowestSr", "in": "query", "name": "stat", "required": true, "type": "string", "x-example": "mostRuns"}, {"description": "Format ID returned by /cricbuzz/team/stats/options", "in": "query", "name": "format_id", "required": true, "type": "string", "x-example": "2"}, {"description": "Year value returned by /cricbuzz/team/stats/options, including all when offered", "in": "query", "name": "year", "required": true, "type": "string", "x-example": "2025"}, {"description": "Opponent ID returned by /cricbuzz/team/stats/options, including all when offered", "in": "query", "name": "opponent_id", "required": true, "type": "string", "x-example": "4"}], "path": "/cricbuzz/team/stats", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["international", "domestic", "league", "women"], "in": "query", "name": "category", "required": true, "type": "string"}, {"in": "query", "name": "team_id", "required": true, "type": "integer"}, {"in": "query", "name": "stat", "required": true, "type": "string"}, {"in": "query", "name": "format_id", "required": true, "type": "string"}, {"in": "query", "name": "year", "required": true, "type": "string"}, {"in": "query", "name": "opponent_id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-team-stats-options": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-team-stats-options", "method": "GET", "params": [{"description": "Team-directory category from /cricbuzz/teams", "enum": ["international", "domestic", "league", "women"], "in": "query", "name": "category", "required": true, "type": "string", "x-example": "international"}, {"description": "Team ID returned by /cricbuzz/teams for the selected category", "in": "query", "name": "team_id", "required": true, "type": "integer", "x-example": 2}], "path": "/cricbuzz/team/stats/options", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["international", "domestic", "league", "women"], "in": "query", "name": "category", "required": true, "type": "string"}, {"in": "query", "name": "team_id", "required": true, "type": "integer"}], "security": ["ApiKeyAuth"]}, "cricbuzz-teams": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-teams", "method": "GET", "params": [{"description": "Team directory category; defaults to international", "enum": ["international", "domestic", "league", "women"], "in": "query", "name": "category", "type": "string", "x-example": "international"}, {"description": "Optional local substring search over team names, up to 100 characters", "in": "query", "name": "q", "type": "string", "x-example": "india"}], "path": "/cricbuzz/teams", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["international", "domestic", "league", "women"], "in": "query", "name": "category", "type": "string"}, {"in": "query", "name": "q", "type": "string"}], "security": ["ApiKeyAuth"]}, "cricbuzz-video-categories": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-video-categories", "method": "GET", "params": [], "path": "/cricbuzz/videos/categories", "pathParams": [], "produces": ["application/json"], "queryParams": [], "security": ["ApiKeyAuth"]}, "cricbuzz-video-playlists": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-video-playlists", "method": "GET", "params": [], "path": "/cricbuzz/videos/playlists", "pathParams": [], "produces": ["application/json"], "queryParams": [], "security": ["ApiKeyAuth"]}, "cricbuzz-wtc": {"bodyParam": null, "bodyRequired": false, "id": "cricbuzz-wtc", "method": "GET", "params": [], "path": "/cricbuzz/wtc", "pathParams": [], "produces": ["application/json"], "queryParams": [], "security": ["ApiKeyAuth"]}}
|
|
23
23
|
JSON
|
|
24
24
|
OPERATION_IDS = JSON.parse(<<~'JSON').freeze
|
|
25
|
-
["cricbuzz-archives", "cricbuzz-auction-info", "cricbuzz-auction-live", "cricbuzz-auction-options", "cricbuzz-auction-player-detail", "cricbuzz-auction-player-search", "cricbuzz-auction-results", "cricbuzz-auction-seasons", "cricbuzz-auction-team-detail", "cricbuzz-auction-teams", "cricbuzz-auction-teams-options", "cricbuzz-auction-upcoming", "cricbuzz-auction-upcoming-options", "cricbuzz-match-facts", "cricbuzz-match-graphs", "cricbuzz-match-overs", "cricbuzz-matches", "cricbuzz-navigation", "cricbuzz-news-topics", "cricbuzz-rankings", "cricbuzz-records", "cricbuzz-schedule", "cricbuzz-scorecard", "cricbuzz-series", "cricbuzz-series-stats", "cricbuzz-teams", "cricbuzz-video-categories", "cricbuzz-video-playlists", "cricbuzz-wtc"]
|
|
25
|
+
["cricbuzz-archives", "cricbuzz-auction-info", "cricbuzz-auction-live", "cricbuzz-auction-live-blog", "cricbuzz-auction-news", "cricbuzz-auction-options", "cricbuzz-auction-player-detail", "cricbuzz-auction-player-search", "cricbuzz-auction-results", "cricbuzz-auction-seasons", "cricbuzz-auction-team-detail", "cricbuzz-auction-teams", "cricbuzz-auction-teams-options", "cricbuzz-auction-upcoming", "cricbuzz-auction-upcoming-options", "cricbuzz-auction-videos", "cricbuzz-match-facts", "cricbuzz-match-graphs", "cricbuzz-match-overs", "cricbuzz-matches", "cricbuzz-navigation", "cricbuzz-news-story", "cricbuzz-news-topics", "cricbuzz-rankings", "cricbuzz-records", "cricbuzz-schedule", "cricbuzz-scorecard", "cricbuzz-series", "cricbuzz-series-stats", "cricbuzz-team-stats", "cricbuzz-team-stats-options", "cricbuzz-teams", "cricbuzz-video-categories", "cricbuzz-video-playlists", "cricbuzz-wtc"]
|
|
26
26
|
JSON
|
|
27
27
|
OPERATION_COUNT = OPERATION_IDS.length
|
|
28
28
|
|
|
29
29
|
class Client
|
|
30
30
|
attr_reader :base_url
|
|
31
31
|
|
|
32
|
-
def initialize(api_key: ENV["CRAWLORA_API_KEY"], base_url: "https://api.crawlora.net/api/v1", timeout: 30, user_agent: "crawlora-cricbuzz-ruby/0.
|
|
32
|
+
def initialize(api_key: ENV["CRAWLORA_API_KEY"], base_url: "https://api.crawlora.net/api/v1", timeout: 30, user_agent: "crawlora-cricbuzz-ruby/0.2.0", transport: nil)
|
|
33
33
|
@api_key = api_key
|
|
34
34
|
@base_url = base_url.to_s.sub(%r{/+$}, "")
|
|
35
35
|
@timeout = Float(timeout)
|
|
@@ -126,6 +126,14 @@ module Crawlora
|
|
|
126
126
|
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
127
127
|
request('cricbuzz-auction-live', params, response_type: response_type)
|
|
128
128
|
end
|
|
129
|
+
define_method('auction_live_blog') do |**params|
|
|
130
|
+
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
131
|
+
request('cricbuzz-auction-live-blog', params, response_type: response_type)
|
|
132
|
+
end
|
|
133
|
+
define_method('auction_news') do |**params|
|
|
134
|
+
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
135
|
+
request('cricbuzz-auction-news', params, response_type: response_type)
|
|
136
|
+
end
|
|
129
137
|
define_method('auction_options') do |**params|
|
|
130
138
|
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
131
139
|
request('cricbuzz-auction-options', params, response_type: response_type)
|
|
@@ -166,6 +174,10 @@ module Crawlora
|
|
|
166
174
|
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
167
175
|
request('cricbuzz-auction-upcoming-options', params, response_type: response_type)
|
|
168
176
|
end
|
|
177
|
+
define_method('auction_videos') do |**params|
|
|
178
|
+
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
179
|
+
request('cricbuzz-auction-videos', params, response_type: response_type)
|
|
180
|
+
end
|
|
169
181
|
define_method('match_facts') do |**params|
|
|
170
182
|
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
171
183
|
request('cricbuzz-match-facts', params, response_type: response_type)
|
|
@@ -186,6 +198,10 @@ module Crawlora
|
|
|
186
198
|
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
187
199
|
request('cricbuzz-navigation', params, response_type: response_type)
|
|
188
200
|
end
|
|
201
|
+
define_method('news_story') do |**params|
|
|
202
|
+
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
203
|
+
request('cricbuzz-news-story', params, response_type: response_type)
|
|
204
|
+
end
|
|
189
205
|
define_method('news_topics') do |**params|
|
|
190
206
|
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
191
207
|
request('cricbuzz-news-topics', params, response_type: response_type)
|
|
@@ -214,6 +230,14 @@ module Crawlora
|
|
|
214
230
|
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
215
231
|
request('cricbuzz-series-stats', params, response_type: response_type)
|
|
216
232
|
end
|
|
233
|
+
define_method('team_stats') do |**params|
|
|
234
|
+
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
235
|
+
request('cricbuzz-team-stats', params, response_type: response_type)
|
|
236
|
+
end
|
|
237
|
+
define_method('team_stats_options') do |**params|
|
|
238
|
+
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
239
|
+
request('cricbuzz-team-stats-options', params, response_type: response_type)
|
|
240
|
+
end
|
|
217
241
|
define_method('teams') do |**params|
|
|
218
242
|
response_type = params.delete(:response_type) || params.delete(:_response_type) || :auto
|
|
219
243
|
request('cricbuzz-teams', params, response_type: response_type)
|
metadata
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: crawlora-cricbuzz
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Crawlora
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Ruby client for Crawlora's hosted Cricbuzz API. Covers cricket matches,
|
|
14
|
-
schedules, news, rankings, series, and records across
|
|
14
|
+
schedules, news, rankings, series, and records across 35 endpoints.
|
|
15
15
|
email:
|
|
16
16
|
executables: []
|
|
17
17
|
extensions: []
|
|
@@ -48,5 +48,5 @@ requirements: []
|
|
|
48
48
|
rubygems_version: 3.4.19
|
|
49
49
|
signing_key:
|
|
50
50
|
specification_version: 4
|
|
51
|
-
summary: Cricbuzz API client for Crawlora (
|
|
51
|
+
summary: Cricbuzz API client for Crawlora (35 endpoints)
|
|
52
52
|
test_files: []
|