Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   package com.robrua.orianna.api.core;
   
   import java.util.Collection;
   import java.util.List;
   import java.util.Map;
   
Accesses the LoL REST API asynchronously and provides results in easy-to-use Java objects.

Author(s):
Rob Rua (FatalElement - NA) (robrua@alumni.cmu.edu)
  
  public abstract class AsyncRiotAPI {
    

Parameters:
action what to do with the challenger league
queueType the ranked queue type to get the challenger league of
  
      public static void getChallenger(final Action<Leagueactionfinal QueueType queueType) {
          new Thread(new Runnable() {
              @Override
              public void run() {
                  action.perform(LeagueAPI.getChallenger(queueType));
              }
          }).start();
      }

    

Parameters:
action what to do with the champion
ID the ID of the champion to get
  
      public static void getChampion(final Action<Championactionfinal long ID) {
          new Thread(new Runnable() {
              @Override
              public void run() {
                  action.perform(StaticDataAPI.getChampion(ID));
              }
          }).start();
      }

    

Parameters:
action what to do with all the champions
  
      public static void getChampions(final Action<List<Champion>> action) {
          new Thread(new Runnable() {
              @Override
              public void run() {
                  action.perform(StaticDataAPI.getChampions());
              }
          }).start();
      }

    

Parameters:
action what to do with the champions
IDs the IDs of the champions to get
  
      public static void getChampions(final Action<List<Champion>> actionfinal List<LongIDs) {
          new Thread(new Runnable() {
              @Override
              public void run() {
                  action.perform(StaticDataAPI.getChampions(IDs));
              }
          }).start();
     }

    

Parameters:
action what to do with the champions
IDs the IDs of the champions to get
 
     public static void getChampions(final Action<List<Champion>> actionfinal long... IDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(StaticDataAPI.getChampions(IDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the champion's status
champion the champion to get status for
 
     public static void getChampionStatus(final Action<ChampionStatusactionfinal Champion champion) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(ChampionAPI.getChampionStatus(champion));
             }
         }).start();
     }

    

Parameters:
action what to do with the champion's status
ID the ID of the champion to get status for
 
     public static void getChampionStatus(final Action<ChampionStatusactionfinal long ID) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(ChampionAPI.getChampionStatus(ID));
             }
         }).start();
     }

    

Parameters:
action what to do with the champions' statuses
IDs the IDs of the champions to get statuses for
 
     public static void getChampionStatuses(final Action<List<ChampionStatus>> actionfinal List<LongIDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(ChampionAPI.getChampionStatuses(IDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the champions' statuses
IDs the IDs of the champions to get statuses for
 
     public static void getChampionStatuses(final Action<List<ChampionStatus>> actionfinal long... IDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(ChampionAPI.getChampionStatuses(IDs));
             }
         }).start();
     }

    

Parameters:
action what to do with all champion's statuses
 
     public static void getChampionStatuses(final Action<Map<ChampionChampionStatus>> action) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(ChampionAPI.getChampionStatuses());
             }
         }).start();
     }

    

Parameters:
action what to do with all (possibly only free to play) champion's statuses
freeToPlay whether to only get free to play champions
 
     public static void getChampionStatuses(final Action<Map<ChampionChampionStatus>> actionfinal boolean freeToPlay) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(ChampionAPI.getChampionStatuses(freeToPlay));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoner's current game or null if they aren't in one
summonerID the ID of the summoner to get current game for
 
     public static void getCurrentGame(final Action<CurrentGameactionfinal long summonerID) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(CurrentGameAPI.getCurrentGame(summonerID));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoner's current game or null if they aren't in one
summonerName the name of the summoner to get current game for
 
     public static void getCurrentGame(final Action<CurrentGameactionfinal String summonerName) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(CurrentGameAPI.getCurrentGame(summonerName));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoner's current game or null if they aren't in one
summoner the summoner to get current game for
 
     public static void getCurrentGame(final Action<CurrentGameactionfinal Summoner summoner) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(CurrentGameAPI.getCurrentGame(summoner));
             }
         }).start();
     }

    

Parameters:
action what to do with the current featured games
 
     public static void getFeaturedGames(final Action<List<CurrentGame>> action) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(FeaturedGamesAPI.getFeaturedGames());
             }
         }).start();
     }

    

Parameters:
action what to do with the item
ID the ID of the item to get
 
     public static void getItem(final Action<Itemactionfinal long ID) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(StaticDataAPI.getItem(ID));
             }
         }).start();
     }

    

Parameters:
action what to do with all the items
 
     public static void getItems(final Action<List<Item>> action) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(StaticDataAPI.getItems());
             }
         }).start();
     }

    

Parameters:
action what to do with the items
IDs the IDs of the items to get
 
     public static void getItems(final Action<List<Item>> actionfinal List<LongIDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(StaticDataAPI.getItems(IDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the items
IDs the IDs of the items to get
 
     public static void getItems(final Action<List<Item>> actionfinal long... IDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(StaticDataAPI.getItems(IDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the languages
 
     public static void getLanguages(final Action<List<String>> action) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(StaticDataAPI.getLanguages());
             }
         }).start();
     }

    

Parameters:
action what to do with the language strings
 
     public static void getLanguageStrings(final Action<Map<StringString>> action) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(StaticDataAPI.getLanguageStrings());
             }
         }).start();
     }

    

Parameters:
action what to do with the summoner's league entries
summoner the summoner to get league entries for
 
     public static void getLeagueEntriesBySummoner(final Action<List<League>> actionfinal Summoner summoner) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesBySummoner(summoner));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' league entries
summoners the summoners to get league entries for
 
     public static void getLeagueEntriesBySummoner(final Action<List<List<League>>> actionfinal List<Summonersummoners) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesBySummoner(summoners));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' league entries
summoners the summoners to get league entries for
 
     public static void getLeagueEntriesBySummoner(final Action<List<List<League>>> actionfinal Summoner... summoners) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesBySummoner(summoners));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoner's league entries
summonerID the ID of the summoner to get league entries for
 
     public static void getLeagueEntriesBySummonerID(final Action<List<League>> actionfinal long summonerID) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesBySummonerID(summonerID));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' league entries
summonerIDs the IDs of the summoners to get league entries for
 
     public static void getLeagueEntriesBySummonerID(final Action<List<List<League>>> actionfinal List<LongsummonerIDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesBySummonerID(summonerIDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' league entries
summonerIDs the IDs of the summoners to get league entries for
 
     public static void getLeagueEntriesBySummonerID(final Action<List<List<League>>> actionfinal long... summonerIDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesBySummonerID(summonerIDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoner's league entries
summonerName the name of the summoner to get league entries for
 
     public static void getLeagueEntriesBySummonerName(final Action<List<League>> actionfinal String summonerName) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesBySummonerName(summonerName));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' league entries
summonerNames the names of the summoners to get league entries for
 
     public static void getLeagueEntriesBySummonerName(final Action<List<List<League>>> actionfinal List<StringsummonerNames) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesBySummonerName(summonerNames));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' league entries
summonerNames the names of the summoners to get league entries for
 
     public static void getLeagueEntriesBySummonerName(final Action<List<List<League>>> actionfinal String... summonerNames) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesBySummonerName(summonerNames));
             }
         }).start();
     }

    

Parameters:
action what to do with the team's league entries
team the team to get league entries for
 
     public static void getLeagueEntriesByTeam(final Action<List<League>> actionfinal Team team) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesByTeam(team));
             }
         }).start();
     }

    

Parameters:
action what to do with the teams' league entries
teams the teams to get league entries for
 
     public static void getLeagueEntriesByTeam(final Action<List<List<League>>> actionfinal List<Teamteams) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesByTeam(teams));
             }
         }).start();
     }

    

Parameters:
action what to do with the teams' league entries
teams the teams to get league entries for
 
     public static void getLeagueEntriesByTeam(final Action<List<List<League>>> actionfinal Team... teams) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesByTeam(teams));
             }
         }).start();
     }

    

Parameters:
action what to do with the team's league entries
teamID the ID of the team to get league entries for
 
     public static void getLeagueEntriesByTeamID(final Action<List<League>> actionfinal String teamID) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesByTeamID(teamID));
             }
         }).start();
     }

    

Parameters:
action what to do with the teams' league entries
teamIDs the IDs of the teams to get league entries for
 
     public static void getLeagueEntriesByTeamID(final Action<List<List<League>>> actionfinal List<StringteamIDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesByTeamID(teamIDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the teams' league entries
teamIDs the IDs of the teams to get league entries for
 
     public static void getLeagueEntriesByTeamID(final Action<List<List<League>>> actionfinal String... teamIDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeagueEntriesByTeamID(teamIDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoner's leagues
summoner the summoner to get leagues for
 
     public static void getLeaguesBySummoner(final Action<List<League>> actionfinal Summoner summoner) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesBySummoner(summoner));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' leagues
summoners the summoners to get leagues for
 
     public static void getLeaguesBySummoner(final Action<List<List<League>>> actionfinal List<Summonersummoners) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesBySummoner(summoners));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' leagues
summoners the summoners to get leagues for
 
     public static void getLeaguesBySummoner(final Action<List<List<League>>> actionfinal Summoner... summoners) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesBySummoner(summoners));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoner's leagues
summonerID the ID of the summoner to get leagues for
 
     public static void getLeaguesBySummonerID(final Action<List<League>> actionfinal long summonerID) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesBySummonerID(summonerID));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' leagues
summonerIDs the IDs of the summoners to get leagues for
 
     public static void getLeaguesBySummonerID(final Action<List<List<League>>> actionfinal List<LongsummonerIDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesBySummonerID(summonerIDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' leagues
summonerIDs the IDs of the summoners to get leagues for
 
     public static void getLeaguesBySummonerID(final Action<List<List<League>>> actionfinal long... summonerIDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesBySummonerID(summonerIDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoner's leagues
summonerName the name of the summoner to get leagues for
 
     public static void getLeaguesBySummonerName(final Action<List<League>> actionfinal String summonerName) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesBySummonerName(summonerName));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' leagues
summonerNames the names of the summoners to get leagues for
 
     public static void getLeaguesBySummonerName(final Action<List<List<League>>> actionfinal List<StringsummonerNames) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesBySummonerName(summonerNames));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' leagues
summonerNames the names of the summoners to get leagues for
 
     public static void getLeaguesBySummonerName(final Action<List<List<League>>> actionfinal String... summonerNames) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesBySummonerName(summonerNames));
             }
         }).start();
     }

    

Parameters:
action what to do with the team's leagues
team the team to get leagues for
 
     public static void getLeaguesByTeam(final Action<List<League>> actionfinal Team team) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesByTeam(team));
             }
         }).start();
     }

    

Parameters:
action what to do with the teams' leagues
teams the teams to get leagues for
 
     public static void getLeaguesByTeam(final Action<List<List<League>>> actionfinal List<Teamteams) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesByTeam(teams));
             }
         }).start();
     }

    

Parameters:
action what to do with the teams' leagues
teams the teams to get leagues for
 
     public static void getLeaguesByTeam(final Action<List<List<League>>> actionfinal Team... teams) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesByTeam(teams));
             }
         }).start();
     }

    

Parameters:
action what to do with the team's leagues
teamID the ID of the team to get leagues for
 
     public static void getLeaguesByTeamID(final Action<List<League>> actionfinal String teamID) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesByTeamID(teamID));
             }
         }).start();
     }

    

Parameters:
action what to do with the teams' leagues
teamIDs the IDs of the teams to get leagues for
 
     public static void getLeaguesByTeamID(final Action<List<List<League>>> actionfinal List<StringteamIDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesByTeamID(teamIDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the teams' leagues
teamIDs the IDs of the teams to get leagues for
 
     public static void getLeaguesByTeamID(final Action<List<List<League>>> actionfinal String... teamIDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(LeagueAPI.getLeaguesByTeamID(teamIDs));
             }
         }).start();
     }

    

Parameters:
action what to do with information for the maps
 
     public static void getMapInformation(final Action<List<MapDetails>> action) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(StaticDataAPI.getMapInformation());
             }
         }).start();
     }

    

Parameters:
action what to do with all the masteries
 
     public static void getMasteries(final Action<List<Mastery>> action) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(StaticDataAPI.getMasteries());
             }
         }).start();
     }

    

Parameters:
action what to do with the masteries
IDs the IDs of the masteries to get
 
     public static void getMasteries(final Action<List<Mastery>> actionfinal List<LongIDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(StaticDataAPI.getMasteries(IDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the masteries
IDs the IDs of the masteries to get
 
     public static void getMasteries(final Action<List<Mastery>> actionfinal long... IDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(StaticDataAPI.getMasteries(IDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the mastery
ID the ID of the mastery to get
 
     public static void getMastery(final Action<Masteryactionfinal long ID) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(StaticDataAPI.getMastery(ID));
             }
         }).start();
     }
 
     public static void getMasteryByID(final Action<Masteryactionfinal long ID) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(null);
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' mastery pages
summoners the summoners to get mastery pages for
 
     public static void getMasteryPages(final Action<List<List<MasteryPage>>> actionfinal List<Summonersummoners) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(SummonerAPI.getMasteryPages(summoners));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' mastery pages
summoners the summoners to get mastery pages for
 
     public static void getMasteryPages(final Action<List<List<MasteryPage>>> actionfinal Summoner... summoners) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(SummonerAPI.getMasteryPages(summoners));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoner's mastery pages
summoner the summoner to get mastery pages for
 
     public static void getMasteryPages(final Action<List<MasteryPage>> actionfinal Summoner summoner) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(SummonerAPI.getMasteryPages(summoner));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' mastery pages
summonerIDs the IDs of the summoners to get mastery pages for
 
     public static void getMasteryPagesByID(final Action<List<List<MasteryPage>>> actionfinal List<LongsummonerIDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(SummonerAPI.getMasteryPagesByID(summonerIDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' mastery pages
summonerIDs the IDs of the summoners to get mastery pages for
 
     public static void getMasteryPagesByID(final Action<List<List<MasteryPage>>> actionfinal long... summonerIDs) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(SummonerAPI.getMasteryPagesByID(summonerIDs));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoner's mastery pages
summonerID the ID of the summoner to get mastery pages for
 
     public static void getMasteryPagesByID(final Action<List<MasteryPage>> actionfinal long summonerID) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(SummonerAPI.getMasteryPagesByID(summonerID));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' mastery pages
summonerNames the names of the summoners to get mastery pages for
 
     public static void getMasteryPagesByName(final Action<List<List<MasteryPage>>> actionfinal List<StringsummonerNames) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(SummonerAPI.getMasteryPagesByName(summonerNames));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoners' mastery pages
summonerNames the names of the summoners to get mastery pages for
 
     public static void getMasteryPagesByName(final Action<List<List<MasteryPage>>> actionfinal String... summonerNames) {
         new Thread(new Runnable() {
             @Override
             public void run() {
                 action.perform(SummonerAPI.getMasteryPagesByName(summonerNames));
             }
         }).start();
     }

    

Parameters:
action what to do with the summoner's mastery pages
summonerName the name of the summoner to get mastery pages for
    public static void getMasteryPagesByName(final Action<List<MasteryPage>> actionfinal String summonerName) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(SummonerAPI.getMasteryPagesByName(summonerName));
            }
        }).start();
    }

    

Parameters:
action what to do with the match
ID the ID of the match to get
    public static void getMatch(final Action<Matchactionfinal long ID) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchAPI.getMatch(ID));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches for the summoner
summonerID the summoner to get match history for
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal long summonerID) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerID));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches after beginIndex for the summoner
summonerID the summoner to get match history for
beginIndex the game index to start from
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal long summonerIDfinal int beginIndex) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerIDbeginIndex));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches after beginIndex for the summoner
summonerID the summoner to get match history for
beginIndex the game index to start from
championIDs the champions to limit games to
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal long summonerIDfinal int beginIndexfinal List<LongchampionIDs) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerIDbeginIndexchampionIDs));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches after beginIndex for the summoner
summonerID the summoner to get match history for
beginIndex the game index to start from
queueType the queue type to limit games to (only ranked queues)
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal long summonerIDfinal int beginIndexfinal QueueType queueType) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerIDbeginIndexqueueType));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches after beginIndex for the summoner
summonerID the summoner to get match history for
beginIndex the game index to start from
queueType the queue type to limit games to (only ranked queues)
championIDs the champions to limit games to
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal long summonerIDfinal int beginIndexfinal QueueType queueType,
            final List<LongchampionIDs) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerIDbeginIndexqueueTypechampionIDs));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches for the summoner
summonerID the summoner to get match history for
championIDs the champions to limit games to
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal long summonerIDfinal List<LongchampionIDs) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerIDchampionIDs));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches for the summoner
summonerID the summoner to get match history for
queueType the queue type to limit games to (only ranked queues)
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal long summonerIDfinal QueueType queueType) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerIDqueueType));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches for the summoner
summonerID the summoner to get match history for
queueType the queue type to limit games to (only ranked queues)
championIDs the champions to limit games to
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal long summonerIDfinal QueueType queueTypefinal List<LongchampionIDs) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerIDqueueTypechampionIDs));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches for the summoner
summoner the summoner to get match history for
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal Summoner summoner) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summoner));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches after beginIndex for the summoner
summoner the summoner to get match history for
beginIndex the game index to start from
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal Summoner summonerfinal int beginIndex) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerbeginIndex));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches after beginIndex for the summoner
summoner the summoner to get match history for
beginIndex the game index to start from
champions the champions to limit games to
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal Summoner summonerfinal int beginIndexfinal List<Championchampions) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerbeginIndexchampions));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches after beginIndex for the summoner
summoner the summoner to get match history for
beginIndex the game index to start from
queueType the queue type to limit games to (only ranked queues)
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal Summoner summonerfinal int beginIndexfinal QueueType queueType) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerbeginIndexqueueType));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches after beginIndex for the summoner
summoner the summoner to get match history for
beginIndex the game index to start from
queueType the queue type to limit games to (only ranked queues)
champions the champions to limit games to
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal Summoner summonerfinal int beginIndexfinal QueueType queueType,
            final List<Championchampions) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerbeginIndexqueueTypechampions));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches for the summoner
summoner the summoner to get match history for
champions the champions to limit games to
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal Summoner summonerfinal List<Championchampions) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerchampions));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches for the summoner
summoner the summoner to get match history for
queueType the queue type to limit games to (only ranked queues)
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal Summoner summonerfinal QueueType queueType) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerqueueType));
            }
        }).start();
    }

    

Parameters:
action what to do with the 15 most recent matches for the summoner
summoner the summoner to get match history for
queueType the queue type to limit games to (only ranked queues)
champions the champions to limit games to
    public static void getMatchHistory(final Action<List<MatchSummary>> actionfinal Summoner summonerfinal QueueType queueType,
            final List<Championchampions) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(MatchHistoryAPI.getMatchHistory(summonerqueueTypechampions));
            }
        }).start();
    }

    

Parameters:
action what to do with the ranked stats for the summoner by champion (null entry contains totals over all champions)
summonerID the summoner to get ranked stats for
    public static void getRankedStats(final Action<Map<ChampionChampionStats>> actionfinal long summonerID) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(StatsAPI.getRankedStats(summonerID));
            }
        }).start();
    }

    

Parameters:
action what to do with the ranked stats for the summoner by champion (null entry contains totals over all champions)
summonerID the summoner to get ranked stats for
season the season to get ranked stats for
    public static void getRankedStats(final Action<Map<ChampionChampionStats>> actionfinal long summonerIDfinal Season season) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(StatsAPI.getRankedStats(summonerIDseason));
            }
        }).start();
    }

    

Parameters:
action what to do with the ranked stats for the summoner by champion (null entry contains totals over all champions)
summoner the summoner to get ranked stats for
    public static void getRankedStats(final Action<Map<ChampionChampionStats>> actionfinal Summoner summoner) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(StatsAPI.getRankedStats(summoner));
            }
        }).start();
    }

    

Parameters:
action what to do with the ranked stats for the summoner by champion (null entry contains totals over all champions)
summoner the summoner to get ranked stats for
season the season to get ranked stats for
    public static void getRankedStats(final Action<Map<ChampionChampionStats>> actionfinal Summoner summonerfinal Season season) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(StatsAPI.getRankedStats(summonerseason));
            }
        }).start();
    }

    

Parameters:
action what to do with the realm
    public static void getRealm(final Action<Realmaction) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(StaticDataAPI.getRealm());
            }
        }).start();
    }

    

Parameters:
action what to do with the summoner's recent games
summonerID the ID of the summoner to get recent games for
    public static void getRecentGames(final Action<List<Game>> actionfinal long summonerID) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(GameAPI.getRecentGames(summonerID));
            }
        }).start();
    }

    

Parameters:
action what to do with the summoner's recent games
summonerName the name of the summoner to get recent games for
    public static void getRecentGames(final Action<List<Game>> actionfinal String summonerName) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(GameAPI.getRecentGames(summonerName));
            }
        }).start();
    }

    

Parameters:
action what to do with the summoner's recent games
summoner the summoner to get recent games for
    public static void getRecentGames(final Action<List<Game>> actionfinal Summoner summoner) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(GameAPI.getRecentGames(summoner));
            }
        }).start();
    }

    

Parameters:
action what to do with the rune
ID the ID of the rune to get
    public static void getRune(final Action<Runeactionfinal long ID) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(StaticDataAPI.getRune(ID));
            }
        }).start();
    }
    public static void getRuneByID(final Action<Runeactionfinal long ID) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(null);
            }
        }).start();
    }

    

Parameters:
action what to do with the summoners' rune pages
summoners the summoners to get rune pages for
    public static void getRunePages(final Action<List<List<RunePage>>> actionfinal List<Summonersummoners) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(SummonerAPI.getRunePages(summoners));
            }
        }).start();
    }

    

Parameters:
action what to do with the summoners' rune pages
summoners the summoners to get rune pages for
    public static void getRunePages(final Action<List<List<RunePage>>> actionfinal Summoner... summoners) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(SummonerAPI.getRunePages(summoners));
            }
        }).start();
    }

    

Parameters:
action what to do with the summoner's rune pages
summoner the summoner to get rune pages for
    public static void getRunePages(final Action<List<RunePage>> actionfinal Summoner summoner) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(SummonerAPI.getRunePages(summoner));
            }
        }).start();
    }

    

Parameters:
action what to do with the summoners' rune pages
summonerIDs the IDs of the summoners to get rune pages for
    public static void getRunePagesByID(final Action<List<List<RunePage>>> actionfinal List<LongsummonerIDs) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(SummonerAPI.getRunePagesByID(summonerIDs));
            }
        }).start();
    }

    

Parameters:
action what to do with the summoners' rune pages
summonerIDs the IDs of the summoners to get rune pages for
    public static void getRunePagesByID(final Action<List<List<RunePage>>> actionfinal long... summonerIDs) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                action.perform(S