Pular para o conteúdo principal
GET
Get games
Retorna todos os eventos ativos de uma liga. A resposta não inclui o livro de ordens nem nenhum preço: chame Obter livro de ordens para isso.

Requisição

GET /exchange/v2/getGames
string
obrigatório
Código de liga de Obter ligas. Use o valor especial upcoming para obter todos os eventos próximos de todas as ligas.
string
Filtro opcional de esporte.

Resposta

array

Exemplo

Erros

Autorizações

Authorization
string
header
obrigatório

Pass your auth token in the Authorization header. The Bearer prefix is optional; the server also accepts a signed auth cookie or a token field in the request body.

Parâmetros de consulta

league
string
obrigatório

League code from GET /exchange/getLeagues. Use upcoming for all upcoming games across leagues.

sport
string

Optional sport filter.

Resposta

Games list

data
object