C# Class Fizzi.Libraries.ChallongeApiWrapper.ChallongePortal

Show file Open project: JLaferri/ChallongeMatchDisplay Class Usage Examples

Public Methods

Method Description
ChallongePortal ( string apiKey ) : System
ChallongePortal ( string apiKey, string subdomain ) : System
EndTournament ( int tournamentId ) : void
GetMatches ( int tournamentId ) : IEnumerable
GetParticipants ( int tournamentId ) : IEnumerable
GetTournaments ( ) : IEnumerable
ReportMatchWinner ( int tournamentId, int matchId, int winnerId ) : void
SetParticipantMisc ( int tournamentId, int participantId, string misc ) : void
ShowTournament ( int tournamentId ) : Fizzi.Libraries.ChallongeApiWrapper.Tournament

Private Methods

Method Description
throwOnError ( IRestResponse response ) : void

Method Details

ChallongePortal() public method

public ChallongePortal ( string apiKey ) : System
apiKey string
return System

ChallongePortal() public method

public ChallongePortal ( string apiKey, string subdomain ) : System
apiKey string
subdomain string
return System

EndTournament() public method

public EndTournament ( int tournamentId ) : void
tournamentId int
return void

GetMatches() public method

public GetMatches ( int tournamentId ) : IEnumerable
tournamentId int
return IEnumerable

GetParticipants() public method

public GetParticipants ( int tournamentId ) : IEnumerable
tournamentId int
return IEnumerable

GetTournaments() public method

public GetTournaments ( ) : IEnumerable
return IEnumerable

ReportMatchWinner() public method

public ReportMatchWinner ( int tournamentId, int matchId, int winnerId ) : void
tournamentId int
matchId int
winnerId int
return void

SetParticipantMisc() public method

public SetParticipantMisc ( int tournamentId, int participantId, string misc ) : void
tournamentId int
participantId int
misc string
return void

ShowTournament() public method

public ShowTournament ( int tournamentId ) : Fizzi.Libraries.ChallongeApiWrapper.Tournament
tournamentId int
return Fizzi.Libraries.ChallongeApiWrapper.Tournament