Riot Games API Java Library
This update may break existing code. Methods and/or parameters have been changed in this release. Please update any existing code to satisfy these new changes.
The following methods have been added to allow summonerId input as String instead of long.
The following methods have been renamed for clarity.
If interested in more details read about the changes here https://github.com/rithms/riot-api-java/pull/37
Thanks to Linnun for these changes!
Added current season constant: Season.CURRENT
Removed all related code for deprecated Match History endpoint.
~ Thanks to Linnun for these changes
By popular request - Added BySummoner and ByTeam versions of some methods that already exist. For example, you can now use getLeagueBySummoner, instead of getLeagueBySummoners and passing in one summoner. This allows you to not have to deal with data structures (Maps, Sets) with only one entry, and instead, just get the single entry directly.
The following methods, and their equivalent overloaded versions have been added:
Methods allowing teamId parameters to be passed as a long value have been removed, since teamIds are always Strings, and are not similar to summonerIds in their structure. Sorry for the oversight if this caused anyone confusion or issues.
MatchHistory endpoint will no longer be officially supported. Deadline for removal is September 22nd, 2015
For more information regarding these changes to the official API, read the official annoucement found here.
Note - getSummonersByName(), getSummonersById, and getSummonerNames() remain unchanged.
Methods: getMasterLeagues() getMasterLeagues(Region region) getMasterLeagues(Region region, QueueType queueType) getMasterLeagues(QueueType queueType)
Return Type: League
For more information about this new endpoint, see the official Riot Games API documentation
Fixed a couple static method bugs relating to multiple and null data constant parameters.
getItemData(...) should now properly return additional requested data.