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, ttl: Duration = 20.minutes, reg: String = _reg)(implicit caller: ApiCaller): Or[League, RiotError]

    Permalink
  7. def champStaticDataById(id: Int, ttl: Duration = 20.minutes, reg: String = _reg)(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, ttl: Duration = 20.minutes, reg: String = _reg)(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 leagueByIds(ids: Seq[Long], ttl: Duration = 20.minutes, reg: String = _reg)(implicit caller: ApiCaller): Or[Map[Long, Seq[League]], RiotError]

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

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

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

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

    Permalink
  24. val leagueVer: String

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

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

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

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

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

    Permalink
  30. val matchVer: String

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

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

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

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

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

    Permalink
  36. def regionId: String

    Permalink

    Get the default region

  37. 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

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

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

    Permalink
  40. val staticDataVer: String

    Permalink
  41. val statsVer: String

    Permalink
  42. val summVer: String

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

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

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

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

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

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

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

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

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

    Permalink
  52. val teamVer: String

    Permalink
  53. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped