Crate toornament [] [src]

Client library for the Toornament web API.

Log in to Toornament with Toornament::with_application. Call API methods to interact with the service.

For Toornament API documentation look here.

For examples, see the examples directory in the source tree.

Structs

AdditionalFields

Additional fields for Discipline wrap.

CustomField

A participant's custom fields

CustomFields

A list of participant's custom fields

Discipline

A game discipline object.

DisciplineId

A game discipline identity.

Disciplines

A list of Discipline objects.

Game

A game description.

GameNumber

A game number.

Games

Array of games

Match

Tournament or discipline match definition.

MatchFilter

A filter for match endpoints

MatchId

Match unique identificator.

MatchResult

Result of a match

Matches

A list of Match objects.

Opponent

An opponent involved in a match.

Opponents

List of the opponents involved in this match.

Participant

An opponent involved in a match/tournament.

ParticipantId

Unique participant identifier

ParticipantLogo

Logo of the participant.

Participants

A list of participants

Permission

A user permission

PermissionAttributes

A list of permission attributes

PermissionId

Unique permission identity

Permissions

A list of permissions

Stage

A tournament stage

StageNumber

A stage number

Stages

A list of tournament stages

TeamSize

Team size bounds (minimum and maximum).

Toornament

Main structure. Should be your point of start using the service. This struct covers all the toornament API.

Tournament

A tournament object.

TournamentId

A tournament identity.

TournamentParticipantsFilter

A filter for tournament participants

TournamentVideosFilter

A filter for tournament videos

Tournaments

A list of Tournament objects.

Video

A tournament video

Videos

A list of tournament videos

Enums

CreateDateSortFilter

Create date sorting filter

CustomFieldType

A type of a participant's custom field

DateSortFilter

Date sorting filter

Error

Toornament API error type.

MatchResultSimple
MatchStatus

A match status.

MatchType

A match type enumeration.

ParticipantType

A participant type enumeration.

PermissionAttribute

Permission attribute definition

StageType

Tournament stage type

TournamentStatus

A tournament status.

VideoCategory

Tournament video category

Type Definitions

Date

A common type for toornament dates.

Result

Toornament API Result alias type.