# Packages
No description provided by the author
# Functions
No description provided by the author
AddOffice will add a new office.
AddPlayer will add a new player to the database.
No description provided by the author
AddPreset will add a new preset to the database.
No description provided by the author
AddTournamentGroup will add a new tournament group.
AddVenue will add a new venue.
AddVisit will write the given visit to database.
Calculate420Statistics will generate 420 statistics for the given leg.
CalculateAroundTheClockStatistics will generate Around the Clock statistics for the given leg.
CalculateAroundTheWorldStatistics will generate Around the World statistics for the given leg.
CalculateBermudaTriangleStatistics will generate Bermuda Triangle statistics for the given leg.
CalculateCricketStatistics will generate cricket statistics for the given leg.
CalculateDartsAtXStatistics will generate statistics for the given leg.
CalculateElo will calculate the Elo for each player based on the given information.
CalculateEloForTournament will calculate a local elo for a given tournament.
CalculateGotchaStatistics will generate Gotcha statistics for the given leg.
CalculateJDCPracticeStatistics will generate JDC Practice statistics for the given leg.
CalculateKillBullStatistics will generate Kill Bull statistics for the given leg.
CalculateKnockoutStatistics will generate Knockout statistics for the given leg.
CalculateScamStatistics will generate Scam statistics for the given leg.
CalculateShootoutStatistics will generate shootout statistics for the given leg.
CalculateTicTacToeStatistics will generate tic tac toe statistics for the given leg.
CalculateX01Statistics will calculate x01 statistics for the given leg.
ChangePlayerOrder update the player order and current player for a given leg.
No description provided by the author
DeleteLastVisit will delete the last visit for the given leg.
DeleteLeg will delete the current leg and update match with previous leg.
DeleteMatch will delete the match with the given ID from the database.
DeletePreset will delete the given preset.
DeleteVisit will delete the visit for the given ID.
FinishByeMatch will finish a given match, and move winner to the next match.
FinishLeg will finalize a leg by updating the winner and writing statistics for each player.
GeneratePlayoffsTournament generates playoffs matches for the given tournament.
GenerateTournament generates a new tournament.
Get420HistoryForPlayer will return history of 420 statistics for the given player.
Get420Statistics will return statistics for all players active during the given period.
Get420StatisticsForLeg will return statistics for all players in the given leg.
Get420StatisticsForMatch will return statistics for all players in the given match.
Get420StatisticsForPlayer will return 420 statistics for the given player.
GetActiveLegs returns all legs which are currently live.
GetActiveMatches returns all active matches.
GetActivePlayers returns a map of all active players.
GetActiveVenueMatches returns all active matches at the given venue.
GetAroundTheClockHistoryForPlayer will return history of Around the Clock statistics for the given player.
GetAroundTheClockStatistics will return statistics for all players active during the given period.
GetAroundTheClockStatisticsForLeg will return statistics for all players in the given leg.
GetAroundTheClockStatisticsForMatch will return statistics for all players in the given match.
GetAroundTheClockStatisticsForPlayer will return Around the Clock statistics for the given player.
GetAroundTheWorldHistoryForPlayer will return history of Around the World statistics for the given player.
GetAroundTheWorldStatistics will return statistics for all players active during the given period.
GetAroundTheWorldStatisticsForLeg will return statistics for all players in the given leg.
GetAroundTheWorldStatisticsForMatch will return statistics for all players in the given match.
GetAroundTheWorldStatisticsForPlayer will return Around the World statistics for the given player.
GetBadgeLegsToRecalculate returns all legs which can generate badges which can be recalculated.
No description provided by the author
GetBermudaTriangleHistoryForPlayer will return history of Bermuda Triangle statistics for the given player.
GetBermudaTriangleStatistics will return statistics for all players active during the given period.
GetBermudaTriangleStatisticsForLeg will return statistics for all players in the given leg.
GetBermudaTriangleStatisticsForMatch will return statistics for all players in the given match.
GetBermudaTriangleStatisticsForPlayer will return Bermuda Triangle statistics for the given player.
GetCricketHistoryForPlayer will return history of Cricket statistics for the given player.
GetCricketStatistics will return statistics for all players active during the given period.
GetCricketStatisticsForLeg will return statistics for all players in the given leg.
GetCricketStatisticsForMatch will return statistics for all players in the given match.
GetCricketStatisticsForPlayer will return Cricket statistics for the given player.
GetCurrentTournament will return the current active tournament.
GetCurrentTournamentForOffice will return the current active tournament for the given office.
GetDartsAtXHistoryForPlayer will return history of Darts at X statistics for the given player.
GetDartsAtXStatistics will return statistics for all players active during the given period.
GetDartsAtXStatisticsForLeg will return statistics for all players in the given leg.
GetDartsAtXStatisticsForMatch will return statistics for all players in the given match.
GetDartsAtXStatisticsForPlayer will return Darts at X statistics for the given player.
GetDartStatistics will return statistics of times hit for a given dart.
GetGlobalStatistics will return global statistics for all matches.
GetGlobalStatisticsFnc will return global fish and chips statistics.
GetGotchaHistoryForPlayer will return history of Gotcha statistics for the given player.
GetGotchaStatistics will return statistics for all players active during the given period.
GetGotchaStatisticsForLeg will return statistics for all players in the given leg.
GetGotchaStatisticsForMatch will return statistics for all players in the given match.
GetGotchaStatisticsForPlayer will return Gotcha statistics for the given player.
GetHeadToHeadMatches will return the last N matches between two players.
GetJDCPracticeHistoryForPlayer will return history of JDC Practice statistics for the given player.
GetJDCPracticeStatistics will return statistics for all players active during the given period.
GetJDCPracticeStatisticsForLeg will return statistics for all players in the given leg.
GetJDCPracticeStatisticsForMatch will return statistics for all players in the given match.
GetJDCPracticeStatisticsForPlayer will return JDC Practice statistics for the given player.
GetKillBullHistoryForPlayer will return history of Kill Bull statistics for the given player.
GetKillBullStatistics will return statistics for all players active during the given period.
GetKillBullStatisticsForLeg will return statistics for all players in the given leg.
GetKillBullStatisticsForMatch will return statistics for all players in the given match.
GetKillBullStatisticsForPlayer will return Kill Bull statistics for the given player.
GetKnockoutHistoryForPlayer will return history of Knockout statistics for the given player.
GetKnockoutStatistics will return statistics for all players active during the given period.
GetKnockoutStatisticsForLeg will return statistics for all players in the given leg.
GetKnockoutStatisticsForMatch will return statistics for all players in the given match.
GetKnockoutStatisticsForPlayer will return Knockout statistics for the given player.
GetLastVisits will return the last N visit for the given leg.
GetLeg returns a leg with the given ID.
GetLegMatchType returns the match type for a given leg.
GetLegParameters will return leg parameters for the given leg.
GetLegPlayers returns information about all players in a leg.
GetLegsForMatch returns all legs for the given match ID.
GetLegsOfType returns all legs with scores for the given match type.
GetLegsToRecalculate returns all legs since the given date which can be recalculated.
GetLegVisits will return all visits for a given leg.
GetMatch returns a match with the given ID.
GetMatchEloChange returns Elo change for each player in the given match.
GetMatches returns all matches.
GetMatchesCount returns count of all matches.
GetMatchesLimit returns the N matches from the given starting point.
GetMatchesPlayedPerPlayer will get the number of matches and legs played and won for each player.
GetMatchMetadata returns a metadata about the given match.
GetMatchMetadataForTournament returns metadata for all matches in a given tournament.
GetMatchModes will return all match modes.
GetMatchProbabilities will return single match for given id with winning probabilities for players.
GetMatchTypes will return all match types.
GetNextTournamentMatch will return the next tournament match.
GetOffice will return a office for the given id.
GetOffices will return all offices.
GetOfficeStatistics will return office statistics for the given period.
GetOfficeStatisticsForOffice will return office statistics for the given office and period.
GetOutshotType will return the outshot with the given ID.
GetOutshotTypes will return all outshot types.
GetOwes will return all current owes between players.
GetOweTypes will return all owe types.
GetPlayer returns the player for the given ID.
GetPlayerBadges will return all badges for a given player.
GetPlayerBadgeStatistics will return statistics calculate badges for the given players.
GetPlayerCheckouts will return a list containing all checkouts done by the given player.
No description provided by the author
GetPlayerEloChangelog returns the elo changelog for the given player.
GetPlayerHeadToHead will return head to head statistics between the two players.
GetPlayerHits will return a map containing which darts the player hits after hitting the first and second provided.
GetPlayerLastMatches will return the last N matches for the given player.
GetPlayerOfficialMatches will return an overview of all official matches for the given player.
GetPlayerProgression will get progression of statistics over time for the given player.
GetPlayers returns a map of all players.
GetPlayerScore will get the score for the given player in the given leg.
GetPlayersElo will get the Elo for the given player IDs.
GetPlayersInLeg will get all players in a given leg.
GetPlayersScore will get the score for all players in the given leg.
GetPlayersX01PreviousStatistics will get statistics about all the the given player IDs.
GetPlayersX01Statistics will get statistics about all the the given player IDs.
GetPlayerTournamentStandings will return all tournament standings for the given player.
GetPlayerVisitCount will return a count of each visit for a given player.
GetPlayerVisits will return all visits for a given player.
No description provided by the author
GetPlayerX01PreviousStatistics will get statistics about the given player id.
GetPlayerX01Statistics will get statistics about the given player id.
GetPreset returns the preset for the given ID.
GetPresets returns all match presets.
GetRandomLegForPlayer will return a random leg for a given player and starting score.
GetRecentPlayers will return a list of recent players ids.
GetScamHistoryForPlayer will return history of Scam statistics for the given player.
GetScamStatistics will return statistics for all players active during the given period.
GetScamStatisticsForLeg will return statistics for all players in the given leg.
GetScamStatisticsForMatch will return statistics for all players in the given match.
GetScamStatisticsForPlayer will return Scam statistics for the given player.
GetShanghaiHistoryForPlayer will return history of Shanghai statistics for the given player.
GetShanghaiStatistics will return statistics for all players active during the given period.
GetShanghaiStatisticsForLeg will return statistics for all players in the given leg.
GetShanghaiStatisticsForMatch will return statistics for all players in the given match.
GetShanghaiStatisticsForPlayer will return Shanghai statistics for the given player.
GetShootoutHistoryForPlayer will return history of Shootout statistics for the given player.
GetShootoutStatistics will return statistics for all players active duing the given period.
GetShootoutStatisticsForLeg will return statistics for all players in the given leg.
GetShootoutStatisticsForMatch will return statistics for the given match.
GetShootoutStatisticsForPlayer will return Shootout statistics for the given player.
GetTicTacToeHistoryForPlayer will return history of statistics for the given player.
GetTicTacToeStatistics will return statistics for all players active during the given period.
GetTicTacToeStatisticsForLeg will return statistics for all players in the given leg.
GetTicTacToeStatisticsForMatch will return statistics for all players in the given match.
GetTicTacToeStatisticsForPlayer will return statistics for the given player.
GetTournament will return a given tournament.
GetTournamentGroupPlayers will return all players in the given group in the given tournament.
GetTournamentGroups will return all tournament groups.
GetTournamentMatches will return all matches for the given tournament.
GetTournamentMatchesForPlayer will return all tournament matches for the given player and tournament.
GetTournamentOverview will return an overview for a given tournament.
GetTournamentPlayers will return all players for the given tournament.
GetPreset returns the preset for the given ID.
GetTournamentPresets returns all tournament presets.
GetTournamentProbabilities will return all matches for the given tournament with winning probabilities for players.
GetTournaments will return all tournaments.
GetTournamentsForOffice will return all tournaments for given office.
GetTournamentStandings will return elo standings for all players.
GetTournamentStatistics will return statistics for the given tournament.
GetUndefeatedPlayers will return all players undefeated in a tournament.
GetVenue will return a venue for the given id.
GetVenueConfiguration will return the configuration for a venue with the given id.
GetVenues will return all venues.
GetVisit will return the visit with the given ID.
GetWinsPerPlayer gets the number of wins per player for the given match.
GetX01HistoryForPlayer will return history of X01 statistics for the given player.
GetX01Statistics will return statistics for all players active duing the given period.
GetX01StatisticsForLeg will return statistics for all players in the given leg.
GetX01StatisticsForMatch will return statistics for all players in the given match.
GetX01StatisticsForPlayer will return X01 statistics for the given player.
ModifyVisit modify the scores of a visit.
NewLeg will create a new leg for the given match.
NewMatch will insert a new match in the database.
NewTournament will create a new tournament.
Recalculate420Statistics will recaulcate statistics for 420 legs.
RecalculateAroundTheClockStatistics will recaulcate statistics for Around the Clock legs.
RecalculateAroundTheWorldStatistics will recaulcate statistics for Around the World legs.
RecalculateBermudaTriangleStatistics will recaulcate statistics for Bermuda Triangle legs.
RecalculateCricketStatistics will recaulcate statistics for Cricket matches.
RecalculateDartsAtXStatistics will recaulcate statistics for Darts at X legs.
RecalculateElo will recalculate Elo for all players.
No description provided by the author
RecalculateGotchaStatistics will recaulcate statistics for Gotcha legs.
RecalculateJDCPracticeStatistics will recaulcate statistics for JDC Practice legs.
RecalculateKillBullStatistics will recaulcate statistics for Kill Bull legs.
RecalculateKnockoutStatistics will recaulcate statistics for Knockout legs.
No description provided by the author
ReCalculateScamStatistics will recaulcate statistics for Scam legs.
RecalculateShanghaiStatistics will recaulcate statistics for Shanghai legs.
RecalculateShootoutStatistics will recaulcate statistics for Shootout matches.
RecalculateStatistics will recaulcate statistics based on the given parameters.
RecalculateTicTacToeStatistics will recaulcate statistics for the given Tic Tac Toe legs.
RecalculateX01Statistics will recalculate x01 statistics for all legs.
RegisterPayback will register a payback between the given players.
SetScore will set the score of a given match.
SpectateVenue will return the current active match at a venue.
StartWarmup will set the updated_at of a leg to now.
SwapPlayers will swap the two players for the given match.
UndoLegFinish will undo a finalized leg.
UpdateEloForMatch will update the elo for each player in a match.
UpdateOffice will update the given player.
UpdatePlayer will update the given player.
UpdatePreset will update the given preset.
UpdateVenue will update the given venue.