Releases: taycaldwell/riot-api-java
riot-api-java-v3.5.2
Updated Static Data Methods
-
Static data methods now support multiple data constant parameters.
-
The following methods have been affected:
getDataChampion methods can now take multiple ChampData constant
parameters.getDataChampionList methods can now take multiple ChampData constant
parameters.getDataItem methods can now take multiple ItemData constant parameters.
getDataItemList methods can now take multiple ItemListData constant
parameters.getDataMastery methods can now take multiple MasteryData constant
parameters.getDataMasteryList methods can now take multiple MasteryListData
constant parameters.getDataRune methods can now take multiple RuneData constant parameters.
getDataRuneList methods can now take multiple RuneDataList constant
parameters.getDataSummonerSpell methods can now take multiple SpellData constant
parameters.getDataSummonerSpellList methods can now take multiple SpellData
constant parameters.
riot-api-java-v3.5.1
Added Nemesis Draft support
- Nemesis mode has been added to the queueType and subType constants.
- queueType: COUNTER_PICK
- subType: COUNTER_PICK
- queueTypeConfigId: 301
Fixed Stats DTO (Static Data) method names (capitalization).
- Capitalization has been added to the Stats data transfer object to make it more readable.
- Methods such as getAttackdamageperlevel are now getAttackDamagePerLevel.
Added base attack speed method to Stats DTO (Static Data).
- Upon request, a method to retrieve the base attack speed of a champion has been added to the Stats data transfer object.
- Formula used: (0.625 / ( 1.0 + attackspeedoffset ))
Added gameQueueConfigIds to QueueType constant.
- QueueType names can now be retrieved using a gameQueueConfigId.
Added map names to Map constant.
- Map names can now be retrieved using a mapId.
riot-api-java-v3.5.0
Added Current-Game API
- The current-game endpoint has been added. You can now access current/live game data of a summoner using the methods listed below:
getCurrentGameInfo(PlatformId platformId, long summonerId)
Added Featured-Games API
- The featured-games endpoint has been added. You can now access featured game data of each region using the methods listed below:
getFeaturedGames(Region region)
getFeaturedGames()
Added Platform ID Constants
- Platform ID constants have been added.
These updates were added to interface with the latest additions to the Riot Games API. For more information on these additions read here.
riot-api-java-v3.4.2
Bugfixes
- Status API has been reverted to using http rather than https, as using
https results in errors.
Updated Constants
- Season 2014 constant updated to more consistent legal value. (Linnun)
- Added missing constant for "Current Summoners Rift" map to map
constants. (Haakjvork) - Added missing constant for "One for All: Mirror Mode" to queue type
constants. (Haakjvork)
Updated Static Data API
- Added masteryTree field to the Mastery DTO in the Static Data API.
Updated League API
- Added losses field to the LeagueEntry DTO in the League API.
(FriesischScott)
Updated Examples
- Examples updated to use Season 2015 constant rather than Season 2014.
(Linnun) - Added simple Android usage example.
JitPack and Maven
- Added Maven build file, allowing project to build nicely with
JitPack.io. (JitPack)
riot-api-java-v3.4.1
Bug Fix
- The constant for Season 2015 has been changed to its legal value.
riot-api-java-v3.4.0
Added maps endpoint from the Static Data API
- getDataGameMapList()
Added language-strings endpoint from the Static Data API
- getDataLanguageStrings()
Added Season 5 support. (Thanks Linnun)
- Season.FIVE and Season.Season5 constants have been added.
Refactored all API methods.
- A version constant has been added to all APIs to clean up code, and make it easier to maintain in the future.
- The portion "/api/lol/" of the request URL is now returned with the endpoint, rather than being concatenated every time in each request.
Updated status endpoint methods to use https
- The status endpoint now uses https rather than http. Note that your API key is not used when making these requests, so it is not at risk of being stolen by malicious eavesdroppers, but we wanted to keep the library uniform, and an extra layer of security never hurts, right? ;)
riot-api-java-v3.3.6
Updated Static Data API Summoner Spell methods:
- Changed getDataSummonerSpellList() methods that take a single summoner
spell id as a parameter to getDataSummonerSpell()
Updated Static Data API Versions method:
- Changed getDataVersion() to getDataVersions()
Added languages endpoint to Static Data API:
- getDataLanguages() method has been added.
Added Android support to DTOs:
- DTOs now implement Serializable, allowing them to be added as Extras
to Intents directly, without developers having to make a custom class to
pass data between Activities.
riot-api-java-v3.3.5
Easier way to access rune stats when using the Static Data API
- RuneStat class has been added to the static data API.
- Rune class in the static data API now has RuneStat member variable
named "stat". - getStat() method has been added to the Rune class in the static data
API.
riot-api-java-v3.3.4
More getMatchHistory methods have been added. Thanks to Linuun for the
contribution.
Appropriate changes have been made to avoid bugs brought on by the
recent changes in which using the global endpoint for some regions gives
a 401 response code.
In summary: Passing in a region parameter to a request no longer give a 401 response code.
riot-api-java-v3.3.3
Linnun - Added highestAchievedSeasonTier