Skip to content

[Twitch] Update remaining APIs to Helix - Part 2#80

Merged
Decicus merged 9 commits into
masterfrom
at/helix-updates
Feb 28, 2022
Merged

[Twitch] Update remaining APIs to Helix - Part 2#80
Decicus merged 9 commits into
masterfrom
at/helix-updates

Conversation

@Decicus
Copy link
Copy Markdown
Owner

@Decicus Decicus commented Feb 10, 2022

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_sub
  • subage
  • team_members
  • videos
  • vod_replay

Latest 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

@Decicus Decicus self-assigned this Feb 10, 2022
@Decicus Decicus merged commit 0f1f741 into master Feb 28, 2022
@Decicus Decicus deleted the at/helix-updates branch February 28, 2022 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert Twitch API calls to Helix

1 participant