Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

Changes to Riot API - making everything harder for everyone

<!-- SC_OFF -->

So Riot sent an announcement about API endpoints being deprecated and there are several things I don't understand about their moves.

  1. What hits me most is that stats-v1.3 endpoint is going away and not being replaced because apparently, refreshing these stats after every game was too much for the servers. Well that sucks for several reasons:

    • Now there will be no easy way of knowing how many Penta/Quadra/...kills a person got in a season of ranked games, let alone KDA, Winrate, etc...
    • Let's say I want this info from the current ranked season for one player. Instead of submitting one request to the stats API, an app now has to submit one request to the MATCHV3 API to get a list of games played by that player and then it has to submit N requests for timelines of games, where N is the number of ranked games a player played.
      So we are going from one request to (N+1) requests where N can actually be in hundreds. This is 100+ requests for information about ONE PLAYER. How does that even help the servers? You save aggregating data by increasing number of request 100-fold at least? That doesn't make sense to me.
    • And out of all the data that gets transmitted this way, the app uses about 1 % of it, since the rest is meaningless timeline data.
    • Now that the app has this data, it also has to go through ALL the responses and cherry-pick the five stats that it wants. With this, you have to start caching to not hit rate limits, which means a database infrastructure, which means if you're not op.gg or lolking.net, you might as well not try at all. Sad day for small-time developer players.
  2. This seems like a minor point, but if you're removing/changing/deprecating almost all the endpoints, including the way you specify region, why in the hell would you leave league-v2.5 in the old format so apps have to not only migrate, but also keep legacy code around which will change again in a few months? Why not just migrate everything at the same time?

I always thought the API was made for players and players/developers who want to make awesome stuff for the community. Instead, it's "make the API for the current client" and then "by the way, release it to the developers in whatever way the client needs" with apparently no attention to small-time hobby developer players who make the community what it is.

We as developers can't do much, but the players will feel it when their favorite websites will start removing functionality. I am disappointed in you Riot.

(All this is written from the point of view of my small project lolsigs.com with ~800 daily users, which could be an edge case. In any case, I think projects like this are important and Riot should try to make it easier for them to exist and not harder.)

TL;DR; upon request: Riot (incompletely) changed their API specification because of new client and stopped aggregating statistics, forcing each developer to do it instead, which disfavors small-time developers and is going to hurt community in the long run.

<!-- SC_ON --> submitted by /u/erthainel to r/leagueoflegends
[link] [comments]

Don't be the product, buy the product!