riot-api-java

A Java client library for Riot's API

Лицензия

Лицензия

Категории

Категории

Сеть
Группа

Группа

net.joelinn
Идентификатор

Идентификатор

riot
Последняя версия

Последняя версия

0.2.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

riot-api-java
A Java client library for Riot's API
Ссылка на сайт

Ссылка на сайт

http://github.com/jlinn/riot-api-java
Система контроля версий

Система контроля версий

http://github.com/jlinn/riot-api-java

Скачать riot

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/net.joelinn/riot/ -->
<dependency>
    <groupId>net.joelinn</groupId>
    <artifactId>riot</artifactId>
    <version>0.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/net.joelinn/riot/
implementation 'net.joelinn:riot:0.2.1'
// https://jarcasting.com/artifacts/net.joelinn/riot/
implementation ("net.joelinn:riot:0.2.1")
'net.joelinn:riot:jar:0.2.1'
<dependency org="net.joelinn" name="riot" rev="0.2.1">
  <artifact name="riot" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.joelinn', module='riot', version='0.2.1')
)
libraryDependencies += "net.joelinn" % "riot" % "0.2.1"
[net.joelinn/riot "0.2.1"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
com.google.guava : guava-base jar r03
org.codehaus.jackson : jackson-jaxrs jar 1.9.13
com.sun.jersey : jersey-client jar 1.17.1

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11
org.hamcrest : hamcrest-library jar 1.3

Модули Проекта

Данный проект не имеет модулей.

riot-api-java

A Java client for the Riot Games API.

Supported API Versions

API Version
champion 1.2
game 1.3
league 2.4
stats 1.3
summoner 1.4
team 2.3

Usage

Maven dependency:

<dependency>
  <groupId>net.joelinn</groupId>
  <artifactId>riot</artifactId>
  <version>0.2.1</version>
</dependency>

Instantiating the client object:

Riot client = new Riot("your-api-key", Region.NA);

Champion calls

// Retrieving all champions
ChampionList champions = client.champion().getChampions();

Summoner calls

// Retrieving a summoner by name
Map<String, Summoner> summoners = client.summoner().getSummoner("SummonerName");
Summoner summoner = summoners.get("SummonerName");

Game calls

// Retrieving a summoner's recent games
RecentGames games = client.game().getRecentGamesBySummoner(summonerId);

League calls

// Retrieving league data by summoner id
List<League> leagues = client.league().getLeaguesBySummoner(summonerId);

Static data calls

// Retrieving items data, including all optionally returned data
ItemList items = client.staticData().getItems(ItemListData.all);

Legal Jibber Jabber

This library isn’t endorsed by Riot Games and doesn’t reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.

Версии библиотеки

Версия
0.2.1
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2