Decicus / DecAPI

API provider/proxy that provides plaintext responses - Documentation: https://docs.decapi.me/
https://decapi.me/
MIT License
118 stars 23 forks source link

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

Closed Decicus closed 2 years ago

Decicus commented 2 years ago

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 / 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