taycaldwell / riot-api-java

Riot Games API Java Library
http://taycaldwell.github.io/riot-api-java/
Apache License 2.0
190 stars 73 forks source link

Support for ACS #147

Open Renkon opened 5 years ago

Renkon commented 5 years ago

It would be cool to be able to access to Riot ACS match/timeline to gather info of tournament server games? Below is the description of what ACS is:

You can access matches played on the tournament realm through Riot's ACS (access control system). In addition to the match ID, you'll need a game hash (I'm not sure where you get that from).

An example URL is https://acs.leagueoflegends.com/v1/stats/game/TRLH3/1001380241?gameHash=23c53fb7fed21f53, and you can also get the match timeline from https://acs.leagueoflegends.com/v1/stats/game/TRLH3/1001380241/timeline?gameHash=23c53fb7fed21f53

Note that accessing matches played on the tournament realm is the only approved usage of the ACS, and it isn't officially supported for 3rd party developers (so it may change at any time without warning)