Skip to content

[Twitch] Update remaining APIs to Helix#75

Merged
Decicus merged 6 commits into
masterfrom
at/twitch-follow-apis
Feb 7, 2022
Merged

[Twitch] Update remaining APIs to Helix#75
Decicus merged 6 commits into
masterfrom
at/twitch-follow-apis

Conversation

@Decicus
Copy link
Copy Markdown
Owner

@Decicus Decicus commented Nov 9, 2021

More progress towards #22

Followage

  • /followage/{channel}/{user} now uses Helix
  • At the moment there's no caching for this endpoint, but I am debating on having a short cache shared with /followed/{channel}/{user}

Followers

  1. /followers/{channel} now uses Helix
  2. JSON responses have been removed (from what I know it was infrequently used anyways)
  3. Parameters that have been removed and are no longer supported (mainly due to lack of support in Helix)
    • offset
    • cursor
    • direction
    • input (used alongside JSON responses)
    • username (see point 4)
  4. Names listed are now always "display names" and not "Twitch usernames". Helix API does not include usernames and only display names.

Following

Same as the Followers changes, really - as they use the same endpoint.

Highlight / "Random Highlight"

Also updated to use Helix.
"Random highlight" has lost the ability to include the game name as Helix does not provide it. From what I know no one was using this functionality regardless.

TODO

  • Update /following/{user} to use Helix as well
  • Add caching to /twitch/followers - Might have to take count into consideration.

@Decicus Decicus self-assigned this Nov 9, 2021
@Decicus Decicus marked this pull request as ready for review January 22, 2022 23:20
@Decicus Decicus changed the title [Twitch] Update follower-related APIs [Twitch] Update remaining APIs to Helix Jan 23, 2022
@Decicus Decicus merged commit 3397d7f into master Feb 7, 2022
@Decicus Decicus deleted the at/twitch-follow-apis branch February 7, 2022 16:52
@Decicus
Copy link
Copy Markdown
Owner Author

Decicus commented Feb 7, 2022

Merged this for now to reduce how much the Kraken shutdown windows will affect DecAPI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant