MCPcopy Create free account

hub / github.com/TrevorSStone/goriot / functions

Functions62 in github.com/TrevorSStone/goriot

↓ 43 callersMethodError
Error prints the error message for a RiotError
goriot.go:193
↓ 22 callersFunctionSetAPIKey
SetAPIKey sets the global key for the Riot Games API. If you do not have one you can get one for free at https://developer.riotgames.com/
goriot.go:103
↓ 21 callersFunctionIsKeySet
IsKeySet returns a bool of if the global API key has been set
goriot.go:147
↓ 21 callersFunctionrequestAndUnmarshal
(requestURL string, v interface{})
goriot.go:151
↓ 13 callersMethodString
Creates a comma separated string
goriot.go:86
↓ 4 callersFunctionNormalizeSummonerName
NormalizeSummonerName takes an arbitrary number of strings and returns a string array containing the strings standardized to league of legends interna
summoner.go:204
↓ 3 callersFunctionSetLongRateLimit
SetLongRateLimit allows a custom rate limit to be set. For at the time of this writing the default for a development API key is 500 requests every 10
goriot.go:119
↓ 3 callersFunctionSetSmallRateLimit
SetSmallRateLimit allows a custom rate limit to be set. For at the time of this writing the default for a development API key is 10 requests every 10
goriot.go:109
↓ 2 callersFunctionChampionList
ChampionList retrieves the current list of champions from the Riot Games API. If freetoplay is set to true, only champions currently free to play are
champion.go:25
↓ 2 callersFunctionMatchByMatchID
MatchByMatchID requests the MatchDetails from Riot You can optionally include the timeline of events if needed API key needs to be set prior to use
match.go:223
↓ 2 callersFunctionMatchHistoryBySummonerID
( region string, summonerID int64, championIDs []int64, rankedQueues []string, beginIndex int, endIndex
matchhistory.go:24
↓ 2 callersFunctioncheckRateLimiter
(RateChan rateChan)
goriot.go:177
↓ 2 callersFunctioncheckTimeTrigger
(RateChan rateChan)
goriot.go:183
↓ 2 callersFunctionrateLimitHandler
(RateChan rateChan, pertime time.Duration)
goriot.go:127
↓ 2 callersFunctiontimeTriggerWatcher
(timeTrigger chan bool, returnChan chan bool)
goriot.go:141
↓ 1 callersFunctionChampionByID
ChampsionByID retrieves the champion from the Riot Games API. It returns a single Champion and any errors that occured from the server The global API
champion.go:47
↓ 1 callersFunctionLeagueByChallenger
LeagueByChallenger retrieves all the league entries for the Challenger group It returns a League and any errors that occured from the server The globa
league.go:190
↓ 1 callersFunctionLeagueBySummoner
LeagueBySummoner retrieves the league of the supplied summonerID(s) from Riot Games API. It returns a League and any errors that occured from the serv
league.go:43
↓ 1 callersFunctionLeagueByTeam
LeagueByTeam retrieves all leagues for passed in Team(s) It returns a map of TeamID to slice of League and any errors The global API key must be set b
league.go:126
↓ 1 callersFunctionLeagueEntryBySummoner
LeagueEntryBySummoner retrieves the league entry of the supplied summonerID. The difference from LeagueBySummoner is that LeagueEntryBySummoner only r
league.go:84
↓ 1 callersFunctionLeagueEntryByTeam
LeagueEntryByTeam retrieves all entries for a Team It returns a League and any errors that occured from the server The global API key must be set befo
league.go:158
↓ 1 callersFunctionMasteriesBySummoner
MasteriesBySummoner retrieves the mastery pages of the supplied summonerIDs from Riot Games API. It returns a map of array pf MasteryPage with the key
summoner.go:60
↓ 1 callersFunctionRankedStatsBySummoner
RankedStatsBySummoner retrieves the ranked statistics of the supplied summonerID from Riot Games API. It returns a RankedStats and any errors that occ
stats.go:118
↓ 1 callersFunctionRecentGameBySummoner
RecentGameBySummoner retrieves the current list of recent games from the Riot Games API. It returns an array of Game(s) and any errors that occured fr
game.go:120
↓ 1 callersFunctionRunesBySummoner
RunesBySummoner retrieves the rune pages of the supplied summonerIDs from Riot Games API. It returns a map of array of RunePage with the key being the
summoner.go:87
↓ 1 callersFunctionStatSummariesBySummoner
StatSummariesBySummoner retrieves the statistics of the supplied summonerID from Riot Games API. It returns an array of PlayerStatsSummary and any err
stats.go:96
↓ 1 callersFunctionSummonerByID
SummonerByID retrieves the summoner information of the provided summoner IDs from Riot Games API. It returns a map of Summoner with the key being summ
summoner.go:135
↓ 1 callersFunctionSummonerByName
SummonerByName retrieves the summoner information of the provided summoner names from Riot Games API. It returns a Map of Summoner with the key being
summoner.go:117
↓ 1 callersFunctionSummonerNamesByID
SummonerNamesByID retrieves multiple summoner's information of the provided summoner IDs from Riot Games API. It returns an map of string with the key
summoner.go:164
↓ 1 callersFunctionTeamBySummonerID
TeamBySummonerID retrieves a summoner's assosiated teams from Riot Games API. It returns an array of Team and any errors that occured from the server
team.go:67
↓ 1 callersFunctionTeamByTeamID
Search for Team information using Team ID Returns Team match history and information or errors from server Global API key must be set prior to use
team.go:106
FunctionExampleSetLongRateLimit
ExampleSetLongRateLimit shows the default way to set the larger rate limit for developers
goriot_test.go:277
FunctionExampleSetSmallRateLimit
ExampleSetSmallRateLimit shows the default way to set the smaller rate limit for developers
goriot_test.go:272
FunctionFeaturedGameBySummonerID
FeaturedGameBySummonerID requests a FeaturedGame from Riot API key needs to be set prior to use
featured.go:71
FunctionFeaturedGames
FeaturedGames requests a list of FeaturedGames from Riot API key needs to be set prior to use
featured.go:49
MethodString
Convers int64 slice to string slice and returns comma separated string
goriot.go:92
FunctionTestChampionByID
(t *testing.T)
goriot_test.go:29
FunctionTestChampionsList
(t *testing.T)
goriot_test.go:20
FunctionTestLeagueByChallenger
(t *testing.T)
goriot_test.go:56
FunctionTestLeagueBySummoner
(t *testing.T)
goriot_test.go:47
FunctionTestLeagueByTeam
(t *testing.T)
goriot_test.go:74
FunctionTestLeagueEntryBySummoner
(t *testing.T)
goriot_test.go:65
FunctionTestLeagueEntryByTeam
(t *testing.T)
goriot_test.go:83
FunctionTestMasteriesBySummoner
(t *testing.T)
goriot_test.go:110
FunctionTestMatchByMatchIDNoTimeline
(t *testing.T)
goriot_test.go:173
FunctionTestMatchByMatchIDWithTimeline
(t *testing.T)
goriot_test.go:182
FunctionTestMatchHistoryBySummonerID
(t *testing.T)
goriot_test.go:191
FunctionTestMatchHistoryBySummonerIDWithFilters
(t *testing.T)
goriot_test.go:201
FunctionTestNormalizeSummonerName
(t *testing.T)
goriot_test.go:242
FunctionTestRankedStatsBySummoner
(t *testing.T)
goriot_test.go:101
FunctionTestRateLimits
(t *testing.T)
goriot_test.go:214
FunctionTestRecentGameBySummoner
(t *testing.T)
goriot_test.go:38
FunctionTestRunesBySummoner
(t *testing.T)
goriot_test.go:119
FunctionTestSetup
(t *testing.T)
goriot_test.go:15
FunctionTestStatSummariesBySummoner
(t *testing.T)
goriot_test.go:92
FunctionTestSummonerByID
(t *testing.T)
goriot_test.go:137
FunctionTestSummonerByName
(t *testing.T)
goriot_test.go:128
FunctionTestSummonerNamesByID
(t *testing.T)
goriot_test.go:146
FunctionTestTeamBySummonerID
(t *testing.T)
goriot_test.go:155
FunctionTestTeamByTeamID
(t *testing.T)
goriot_test.go:164
FunctioncreateSummonerIDString
(summonerID []int64)
summoner.go:189
FunctioncreateTeamIDString
Creates a string of comma seperated Team IDs from a slice of Team IDs There is currently a hard limit of 10 Teams
team.go:135