# Cricket Team Player Rankings Search

**Use case:** 

Retrieve player rankings for the Afghanistan cricket team. This task searches for players ranked under specific query parameters.

## Input

```json
{
  "action": "search_players",
  "team_id": "40",
  "team_slug": "afghanistan",
  "use_api": true,
  "query": "ling",
  "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.