Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Are there plans for the new Twitch API? #374

Open
terzag opened this issue Oct 19, 2018 · 3 comments
Open

Are there plans for the new Twitch API? #374

terzag opened this issue Oct 19, 2018 · 3 comments

Comments

@terzag
Copy link

terzag commented Oct 19, 2018

This is not really a bug report but on the GitHub for Streamlink Twitch GUI, I noticed the following post: streamlink/streamlink-twitch-gui#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?

@vinszent
Copy link
Owner

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.

@terzag
Copy link
Author

terzag commented Oct 20, 2018

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.

@vinszent
Copy link
Owner

vinszent commented Nov 2, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants