loldevs / leaguespec

community crafted knowledge base around Riot Games observer system
Other
149 stars 18 forks source link

RTMP third party client API will be banned #30

Open Divi opened 10 years ago

Divi commented 10 years ago

See : https://developer.riotgames.com/discussion/riot-games-api/show/oklxAP21

TL;DR: Riot will block all RTMP third party API. The only way to retrieve game data will be with their official API, which is very poor at this time. Retrieve the spectating encryption key will be impossible. Maybe they will release an API with this data, I don't know.

jaagupkymmel commented 10 years ago

http://www.reddit.com/r/leagueoflegends/comments/2easbn/riot_wants_any_3rd_party_applications_like/cjxpb3r

Apparently Riot will allow to continue downloading spectator data, so if they are using the same method that they are, we should be in the safe. Should confirm with a rioter tho.

Divi commented 10 years ago

You're right, but the encryption key is not in the meta, it's in the RTMP API. And we won't be able to know the live game id.

lukegb commented 10 years ago

From my reading: They're not blocking it, they're just going to start enforcing the don't-use-APIs-we-haven't-provided rule. They then went on (in edit 2) to explicitly spell out that exclusively for spectating stuff you can retain this functionality and continue to use, for the time being, the RTMP API, since that's the only way to actually get the data you need to do that.

avborhanian commented 10 years ago

Yeah, I thought it was okay because of this comment. "I meant, they are welcome to keep using it as they have been, as a solution until some future point where we can potentially bring this functionality into the API. This is less of an exception for a particular use case, and more of the point that what they are doing does not affect our platform in the way the more common scraping methods do and is therefore not a concern at this time." Seems to imply RTMP is okay, but they will eventually move it to the Riot API.

Divi commented 10 years ago

I don't think so, they say OP.GG and lolking have exclusive API (private API), which has the spectator API.

jaagupkymmel commented 10 years ago

@Divi source? Should I message a rioter about this (possibly RiotSargonas)?

Divi commented 10 years ago

It was in the Reddit thread. Sargonas said big webites has moved on an "exclusive" API. I already send a message to Riot Sargonas, but no answer atm.

frostycpu commented 10 years ago

@Divi @jaagupkymmel this: https://www.reddit.com/r/leagueoflegends/comments/2easbn/riot_wants_any_3rd_party_applications_like/cjxp2d3

I don't think he meant LoLKing uses an exclusive API, but rather use the official API for everything possible (meaning they only use RTMP Calls for current games).

Divi commented 9 years ago

Update: RiotShmick said :


If your site is using RTMP, specator data, or other alternative sources than the API to power it, then yes, it will be in violation of the Terms of Service starting 10/1/14. The only exception is using spectator data to generate replay files. The data gathered from spectator data can not be used in other way.

So parsing the spectator files will be prohibed.

Source : https://developer.riotgames.com/discussion/riot-games-api/show/LQEpmLEX