[Twitch] Update remaining APIs to Helix - Part 2#80
Merged
Conversation
Remove separate caching of viewercount
Subscriber Age + Latest Sub have been deprecated, as Helix does not include any timestamps we can rely on, at all
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the remaining endpoints that I wasn't able to update in time via #75
The endpoints in question - Refer to #22 for complete list:
latest_sub/random_subsubageteam_membersvideosvod_replayLatest sub / Subage
"Latest subscriber" and "subscriber age" have both been deprecated. Helix does not provide any "subscription creation date" and thus it is impossible to sort/calculate the "latest" and "subscriber age".
Random sub
Random subscriber is still supported and now automatically filters out the broadcaster.
Subscribers are cached for up to 2 minutes, meaning new subscribers may have to wait 2+ minutes before they're included in the randomization.
Videos / VOD replay / Team members
All have been updated to use Helix.
Videos has been updated to deprecate JSON responses. Meaning they will all be plaintext.
Team members still responds with JSON by default.
Fixes #22