Players Cricket Info
This endpoint allows you to retrieve the info from players.
You can get the id
from the /players endpoint cricket_info
.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every minute.
Recommended Calls: Limit calls to 1 per minute.
Use Cases
Get info based on the idhttps://cricket.sportdevs.com/players-cricket-info?id=eq.{id}
Query Parameters
- id integer
Default value:
eq.57
The id of the info
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- id integer
The id of the info
Note: This is a Primary Key.
- batting text
The batting of the match
- bowling text
The bowling of the match
[
{
"id": 57,
"batting": "Right",
"bowling": "Off break"
}
]