Twitch didn't document this properly in their docs, but it is possible to specify multiple broadcaster_id parameters (up to 100) and you will get back multiple objects for these, quite similarly to how it works in GetClips function.
I would need to fetch channel information for ~400 channels and doing that in bulks of 100 seems way more efficient than making separate requests for each of these, but I can't find a way to specify more than 1 BroadcasterID in GetChannelInformationParams.
I had an idea to change GetChannelInformationParams.BroadcasterID string to GetChannelInformationParams.BroadcasterIDs []string (also just like it's done in the GetClips function), but this would be a breaking change and existing applications would need to update, would you be okay with me PRing this change or should a different solution be considered instead?
Update to the above: I just decided to open a PR for that.
Twitch didn't document this properly in their docs, but it is possible to specify multiple
broadcaster_id
parameters (up to 100) and you will get back multiple objects for these, quite similarly to how it works inGetClips
function.I would need to fetch channel information for ~400 channels and doing that in bulks of 100 seems way more efficient than making separate requests for each of these, but I can't find a way to specify more than 1
BroadcasterID
inGetChannelInformationParams
.I had an idea to change
GetChannelInformationParams.BroadcasterID string
toGetChannelInformationParams.BroadcasterIDs []string
(also just like it's done in theGetClips
function), but this would be a breaking change and existing applications would need to update, would you be okay with me PRing this change or should a different solution be considered instead? Update to the above: I just decided to open a PR for that.