viktor v0.0.7 Viktor
Viktor
Examples
Viktor.start_link
current_game = Viktor.current_game("na", 21066)
Summary
Functions
API Key
Get challenger tier leagues
Retrieve champion by ID
Gets all champion masteries for a summoner
Gets all champion masteries for a summoner
Retrieve all champions
Get current game information for the given summoner ID
Get list of featured_games
Get league entries mapped by summoner ID for a given list of summoner IDs
Get leagues mapped by summoner ID for a given list of summoner IDs
Get master tier leagues
Get a player’s total champion mastery score, which is sum of individual champion mastery levels
Retrieve match by match ID
Retrieve match by match ID
See Viktor.MatchList.match_list/2
See Viktor.MatchList.match_list/3
Get recent games by summoner ID
Get league entries mapped by team ID for a given list of team IDs
Get leagues mapped by team ID for a given list of team IDs
Get specified number of top champion mastery entries sorted by number of champion points descending
Functions
Get challenger tier leagues.
Examples
challenger_league = Viktor.challenger_league("na", "RANKED_SOLO_5x5")
Gets all champion masteries for a summoner.
Examples
masteries = Viktor.champion_masteries("na", 21066)
Gets all champion masteries for a summoner.
Examples
mastery = Viktor.champion_mastery("na", 21066, 1)
Retrieve all champions.
Examples
All Champions
all_champions = Viktor.champion("na")
free_champions = Viktor.champion("na", true)
Get current game information for the given summoner ID.
Examples
current_game = Viktor.current_game("na", 21066)
Get list of featured_games.
Examples
featured_games = Viktor.featured_games("na")
Get league entries mapped by summoner ID for a given list of summoner IDs.
Examples
league_entries = Viktor.league_entries("na", "21066")
Get leagues mapped by summoner ID for a given list of summoner IDs.
Examples
leagues = Viktor.leagues("na", "21066")
Get master tier leagues.
Examples
master_league = Viktor.master_league("na", "RANKED_SOLO_5x5")
Get a player’s total champion mastery score, which is sum of individual champion mastery levels.
Examples
mastery_score = Viktor.mastery_score("na", 21066)
Retrieve match by match ID.
Examples
match = Viktor.match("na", 2077473238, true)
Get recent games by summoner ID.
Examples
recent_games = Viktor.recent_games("na", 21066)
Get league entries mapped by team ID for a given list of team IDs.
Examples
team_league_entries = Viktor.team_league_entries("na", "TEAM-fa073ee0-51ca-11e4-82cc-782bcb4d0bb2")
Get leagues mapped by team ID for a given list of team IDs.
Examples
team_leagues = Viktor.team_leagues("na", "TEAM-fa073ee0-51ca-11e4-82cc-782bcb4d0bb2")