Add subscription date to subscription APIs
Both of the APIs for getting subscriptions for a broadcaster don't include the actual date of the subscription with the data:
https://dev.twitch.tv/docs/api/reference#get-broadcaster-subscriptions
https://dev.twitch.tv/docs/api/reference#check-user-subscription
This makes it impossible to compute things such as subscription length dynamically as the only way to get subscriptions dates now is to be listening for the subscription event itself when it occurs. The V5 version of these APIs have this data point in them:
https://dev.twitch.tv/docs/v5/reference/channels#get-channel-subscribers
https://dev.twitch.tv/docs/v5/reference/channels#check-channel-subscription-by-user
-
BarryCarlyon commented
This UV/Request already exists as https://twitch.uservoice.com/forums/310213-developers/suggestions/37659133-subs-tenure-in-helix
v5's old dates don't give a good enough measure for months. Since the date is the "last payment date that didn't have a gap in the payment schedule" so very error prone