Cricinfo

Query Cricinfo Statsguru

Returns a bounded 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.

get/cricinfo/stats

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/cricinfo/stats
  • Auth: API key in header x-api-key

Query parameters

class1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 20 | 21 | 22 | 23 required

Statsguru match-class. Allowed values: 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 20, 21, 22, 23

type'batting' | 'bowling' | 'fielding' | 'allround' | 'fow' | 'team' | 'official' | 'aggregate' required

Statsguru statistic family

playerstring

Numeric Cricinfo player identifier

teamstring

Numeric Cricinfo team identifier

oppositionstring

Numeric opposition team identifier

hoststring

Numeric host-country identifier

groundstring

Numeric ground identifier

seasonstring

Season formatted as YYYY or YYYY/YY

span_minstring

Statsguru starting date

span_maxstring

Statsguru ending date

view'innings' | 'match' | 'series' | 'ground' | 'host' | 'opposition' | 'year' | 'season'

Statsguru table view

orderbystring

Statsguru sort column

orderby_descboolean

Sort descending when true

limitinteger

Maximum rows returned, from 1 to 100

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.