Skip to content

5. Participants

Kyle edited this page Aug 4, 2022 · 3 revisions

Update Participant

$params = [
  'name' => "Updated Player 1",
];
$participant->update($params);

You can see all available params here: http://api.challonge.com/v1/documents/participants/create

Updates the participant attributes.

Delete Participant

$participant->delete();

Deletes the participant.

Get Participants

$challonge->getParticipants('teamreflex-bracket1');

Returns Reflex\Challonge\DTO\Participant instances per participant.

Randomize Participants

$challonge->randomizeParticipants('teamreflex-bracket1');

Returns Reflex\Challonge\DTO\Participant instances per participant.

Get Participant

$challonge->getParticipants('teamreflex-bracket1', 'participantId');

Returns a Reflex\Challonge\DTO\Participant instance of the given participant in a tournament.

Clone this wiki locally