Tournaments

get_tournaments_in_state

Get a list of tournament ids for upcoming tournaments

Apis.instance().db_api().exec('get_tournaments_in_state', [stateString, accountId])
  • stateString: The tournament state

  • accountId:Account Id

get_registered_tournaments

Get a list of registered tournaments by account id.

Apis.instance().db_api().exec('get_registered_tournaments', [accountId, 100])
  • accountId: Account Id.

get_tournaments

Get all tournaments between last_tournament_id and start_tournament_id.

 _ws.Apis.instance().db_api().exec('get_tournaments', [last_tournament_id, limit, start_tournament_id])
  • last_tournament_id: The last tournament id

  • limit: The limit of tournaments to return.

  • start_tournament_id: The starting tournament id.