cricinfo_stats
Fetch cricket batting, bowling, fielding, and other stats from Cricinfo Statsguru. Returns normalized, bounded tables filtered by match class, team, player, ground, and more.
Instructions
Query Cricinfo Statsguru. Returns a bounded normalized Statsguru table. class must be one of 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 20, 21, 22, or 23; type must be one of batting, bowling, fielding, allround, fow, team, official, or aggregate; view may be innings, match, series, ground, host, opposition, year, or season.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Numeric host-country identifier | |
| team | No | Numeric Cricinfo team identifier | |
| type | Yes | Statsguru statistic family | |
| view | No | Statsguru table view | |
| class | Yes | Statsguru match-class. Allowed values: 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 20, 21, 22, 23 | |
| limit | No | Maximum rows returned, from 1 to 100 | |
| ground | No | Numeric ground identifier | |
| player | No | Numeric Cricinfo player identifier | |
| season | No | Season formatted as YYYY or YYYY/YY | |
| orderby | No | Statsguru sort column | |
| span_max | No | Statsguru ending date | |
| span_min | No | Statsguru starting date | |
| opposition | No | Numeric opposition team identifier | |
| orderby_desc | No | Sort descending when true |