Object

thangiee.riotapi

RiotApi

Related Doc: package riotapi

Permalink

object RiotApi

Provide everything you need to consume the Riot API

See https://developer.riotgames.com/api/methods for documentations of all api methods.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RiotApi
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def baseUrl(region: String = _reg): String

    Permalink

    Generate the common part of the URL in all api URLs

  6. def challengerLeague(queue: QueueType, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[League, RiotError]

    Permalink
  7. def champStaticDataById(id: Int, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Champion, RiotError]

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def currentGameInfoById(id: Long, reg: String = _reg, ttl: Duration = 20.minutes)(implicit c: ApiCaller): Or[CurrentGameInfo, RiotError]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. val gameVer: String

    Permalink
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def key: String

    Permalink

    Get the currently set api key

  18. def key_=(key: String): Unit

    Permalink

    Set the api key to use for api calls

  19. def leagueById(id: Long, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Seq[League], RiotError]

    Permalink
  20. def leagueByIds(ids: Seq[Long], reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Map[Long, Seq[League]], RiotError]

    Permalink
  21. def leagueByTeamId(id: Long, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Seq[League], RiotError]

    Permalink
  22. def leagueByTeamIds(ids: Seq[Long], reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Map[Long, Seq[League]], RiotError]

    Permalink
  23. def leagueEntryById(id: Long, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Seq[League], RiotError]

    Permalink
  24. def leagueEntryByIds(ids: Seq[Long], reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Map[Long, List[League]], RiotError]

    Permalink
  25. def leagueEntryByTeamId(id: Long, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Seq[League], RiotError]

    Permalink
  26. def leagueEntryByTeamIds(ids: Seq[Long], reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Map[Long, Seq[League]], RiotError]

    Permalink
  27. val leagueVer: String

    Permalink
  28. def masterLeague(queue: QueueType, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[League, RiotError]

    Permalink
  29. def masteryPagesByIds(ids: Seq[Long], reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Map[Long, MasteryPages], RiotError]

    Permalink
  30. def matchByMatchId(id: Int, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[MatchDetail, RiotError]

    Permalink
  31. def matchHistoryById(id: Int, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[PlayerHistory, RiotError]

    Permalink
  32. def matchListById(id: Int, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[MatchList, RiotError]

    Permalink
  33. val matchVer: String

    Permalink
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. def rankedStatsById(id: Long, season: Int, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[RankedStats, RiotError]

    Permalink
  38. def recentGamesById(id: Long, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[RecentGames, RiotError]

    Permalink
  39. def regionId: String

    Permalink

    Get the default region

  40. def regionId_=(regionId: String): Unit

    Permalink

    Set the default region that will be used if no region is specified when using an api call

    Set the default region that will be used if no region is specified when using an api call

    regionId

    abbreviation of a region's name

  41. def runePagesByIds(ids: Seq[Long], reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Map[Long, RunePages], RiotError]

    Permalink
  42. def spellStaticDataById(id: Int, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[SummonerSpell, RiotError]

    Permalink
  43. val staticDataVer: String

    Permalink
  44. val statsVer: String

    Permalink
  45. val summVer: String

    Permalink
  46. def summaryStatsById(id: Long, season: Int, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[PlayerStatsSummaryList, RiotError]

    Permalink
  47. def summonerById(id: Long, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Summoner, RiotError]

    Permalink
  48. def summonerByIds(ids: Seq[Long], reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Map[Long, Summoner], RiotError]

    Permalink
  49. def summonerByName(name: String, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Summoner, RiotError]

    Permalink
  50. def summonerByNames(names: Seq[String], reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Map[String, Summoner], RiotError]

    Permalink
  51. def summonerNameById(id: Long, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[String, RiotError]

    Permalink
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  53. def teamBySummonerId(id: Long, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Seq[Team], RiotError]

    Permalink
  54. def teamBySummonerIds(ids: Seq[Long], reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Map[Long, Seq[Team]], RiotError]

    Permalink
  55. def teamByTeamId(fullId: String, reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Team, RiotError]

    Permalink
  56. def teamByTeamIds(fullIds: Seq[String], reg: String = _reg, ttl: Duration = 20.minutes)(implicit caller: ApiCaller): Or[Map[String, Team], RiotError]

    Permalink
  57. val teamVer: String

    Permalink
  58. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  59. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped