# Player Stats from ESPN Cricinfo

**Use case:** 

Retrieve detailed player statistics for the cricket team. Access information on player rankings, performance, and match history.

## Input

```json
{
  "action": "get_player_details",
  "team_id": "2",
  "team_slug": "afghanistan",
  "player_id": "253802",
  "use_api": true,
  "query": "search_players",
  "limit": 5,
  "ranking_type": "teams",
  "stats_type": "batting",
  "stats_format": "test",
  "page": 2,
  "statsguru_class": "test",
  "statsguru_type": "batting",
  "statsguru_view": "overall",
  "statsguru_page": 1
}
```

## Output

```json
{
  "action": {
    "label": "Action",
    "format": "string"
  },
  "success": {
    "label": "Success",
    "format": "boolean"
  },
  "error": {
    "label": "Error",
    "format": "string"
  },
  "timestamp": {
    "label": "Timestamp",
    "format": "string"
  },
  "data": {
    "label": "Data",
    "format": "object"
  }
}
```

## About this Actor

This example demonstrates how to use [ESPNCricinfo APi](https://apify.com/fingolfin/espncricinfo-api-statsguru-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fingolfin/espncricinfo-api-statsguru-scraper) to learn more, explore other use cases, and run it yourself.