-
Notifications
You must be signed in to change notification settings - Fork 12
Description
I'm building a Twitch app that can write to the chat when donations to a participant or team show up. The frequency I was thinking of is checking every minute (since folks are watching live).
While I'm designing this implementation, I'm nervous about making too many calls to the DonorDrive API. If I'm keeping it simple, I need to check the latest values of https://www.extra-life.org/api/participants/X/donations every minute. But I would need to make this call for each participant/team that wants to use my app.
If we have 50 different twitch streams, I then need to make 50 calls per minute. And that's just if I'm only supporting the call to donations. At some point I'd love to post to chat when a milestone is reached (adding another call to /milestones for each participant/twitch stream), but that would put me to 100 calls per minute.
Is there a way to support requesting 2+ participant per call? Like a batch request?