lmachens / trophy-hunter-legacy

[deprecated] Overwolf app for League of Legends
https://th.gl/
GNU Affero General Public License v3.0
13 stars 2 forks source link

Riot API V3 deprecation #40

Closed lmachens closed 5 years ago

lmachens commented 5 years ago

We are adding a new security layer for the privacy of players. In order to do so, we are releasing a new version for several of the Riot Games APIs. All v3 endpoints that have a v4 counterpart will be deprecated in on January 28th, 2019. Please see the announcement for additional details. https://www.riotgames.com/en/DevRel/player-universally-unique-identifiers-and-a-new-security-layer

We have to update all API requests.

lmachens commented 5 years ago

Sadly this is a lot of work and it is unclear how we can solve it. Riot encrypted summonerId and accountId.

Rayth commented 5 years ago

Riot support might have an answer for this? They must know that these 2 will be crucial for developers.

lmachens commented 5 years ago

The problem is, that we get only the decrypted accountId from the overwolf api. But it is not possible to get the summoner with that id anymore. Only solution is to get the summoner by name: https://developer.riotgames.com/api-methods/#summoner-v4/GET_getBySummonerName There is a discussion in the overwolf slack about this issue (privat channel; can not link).