Because the Helix API doesn’t support providing a channel id and returning all subscribers, I’ve tested on the v5 API and encountered a weird error.
I tested on a friend’s channel and it returned this regarding one user:
{ "created_at":"2019-07-10T20:31:34Z", "_id":"d851c906561bbc77e2c3dffd3d363e3b7f2f6be7", "sub_plan":"1000", "sub_plan_name":"Winter's meme team", "is_gift":false, "user":{ "display_name":"MxLuminescence", "type":"user", "bio":"I play games and do art. Pop in for some fun convo", "created_at":"2012-12-01T01:22:10Z", "updated_at":"2019-04-13T16:39:01Z", "name":"mxluminescence", "_id":"38105363", "logo":"https://static-cdn.jtvnw.net/jtv_user_pictures/87854437-dc8b-48bc-91e1-fec5936e5060-profile_image-300x300.png" }, "sender":null }
However when running just that one user through the Helix API:
{ "data":[ { "broadcaster_id":"45215812", "broadcaster_name":"PopTartPony3", "is_gift":true, "plan_name":"Winter's meme team", "tier":"1000", "user_id":"38105363", "user_name":"MxLuminescence" } ] }
The difference being, the Helix API correctly reports that it is in fact gifted. Is this a known or intended issue due to backend changes and the v5 being deprecated, or can this be resolved?
Thanks,
Josh