Matches Games Bans
This endpoint allows you to retrieve the bans from a specific game.
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 bans from a specific esports_game_idhttps://esports.sportdevs.com/matches-games-bans?esports_game_id=eq.{esports_game_id}
Get bans from a specific esports_game_id and team_idhttps://esports.sportdevs.com/matches-games-bans?esports_game_id=eq.{esports_game_id}&team_id=eq.{team_id}
Query Parameters
- esports_game_id integer
Default value:
eq.1
The id of the game
- team_id integer
Default value:
eq.38412
The id of the team
- 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
- esports_game_id integer
The id of the game
Note: This is a Foreign Key to
matches-games.id
. - team_id integer
The id of the team
Note: This is a Foreign Key to
teams.id
. - bans jsonb
The bans of the game
[
{
"esports_game_id": 1,
"team_id": 38412,
"bans": [
"Caitlyn",
"Gnar",
"Jarvan IV",
"Maokai",
"Ornn"
]
}
]