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

Discipline

A game discipline object.

DisciplineId

A game discipline identity.

Disciplines

A list of Discipline objects.

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.

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.

Tournaments

A list of Tournament objects.

XApiKey

X-Api-Key header is used in toornament authentication mechanism. It must point to a valid application key (String).

Enums

Error

Toornament API error type.

MatchType

A match type enumeration.

ParticipantType

A participant type enumeration.

TournamentStatus

A tournament status.

Type Definitions

Result

Toornament API Result alias type.