gnome-twitch icon indicating copy to clipboard operation
gnome-twitch copied to clipboard

Are there plans for the new Twitch API?

Open terzag opened this issue 6 years ago • 3 comments

This is not really a bug report but on the GitHub for Streamlink Twitch GUI, I noticed the following post: https://github.com/streamlink/streamlink-twitch-gui/issues/599

Basically, the developer says that by the end of the year, Twitch plans to drop the current API STG uses (though the decision might have been reverted) and he's not sure how it will affect the app but a limitation to the number of requests it can do will certainly cause issues.

I was wondering if it might cause issues with GNOME Twitch and if tests have been made to check if it'll still work when/if a new API has to be used?

terzag avatar Oct 19 '18 15:10 terzag

Way ahead of you, see #367.

TLDR: Twitch is postponing deprecation of their V5 and I will be continuing development for now as I'm using it as an exercise to learn Rust ;).

However the rate-limiting seems concerning, as it seems that all GT applications will be limited to a combined total of 120 requests per minute. I could try to request a higher rate limit but I highly doubt they would allow it as my app is basically circumventing their website. Also my client ID is public so anybody can rip and use it.

We'll just have to see how things pan out.

vinszent avatar Oct 19 '18 22:10 vinszent

Whoops, didn't see the other thread before posting.

Good to know that you've been aware of it, though the situation doesn't look very good.

terzag avatar Oct 20 '18 07:10 terzag

My plan is to have a default client ID (mine) which will probably be rate limited into oblivion. Then people can always go to the Twitch developer website, register an app and use that client ID as their own personal one.

EDIT: Actually it seems like Twitch have updated their rate limiting rules, it's not tied solely to the client ID. Now it seems like one can make roughly 800 requests per minute, per user if a bearer token (via OAuth) is supplied

vinszent avatar Nov 02 '18 21:11 vinszent