mitchwadair / tesjs

Streamline your Twitch EventSub JavaScript integration with TESjs

Home Page:https://www.tesjs.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[RFE] Get Subscriptions by Type or Status

mitchwadair opened this issue · comments

Is your feature request related to a problem? Please describe.
The Helix endpoints for getSubscriptions has optional query params to get only subscriptions with a certain status or a certain type. This should be possible to use by developers through TESjs.

Describe the solution you'd like
A getSubscriptionsByType() function and a getSubscriptionsByStatus() function that you can pass a string for type or status respectively. As for implementation, it should be similar to the current getSubscriptions function (incl. pagination etc).

Additional context
See Twitch Doc for more info.