[RFE] Get Subscriptions by Type or Status
mitchwadair opened this issue · comments
Mitchell Adair commented
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.