Fetch a single page of Twitch charity donations for campaignId. The return shape includes a metadata.nextPage cursor; pass it back as pageNumber to paginate.
campaignId
metadata.nextPage
pageNumber
on a non-2xx proxy response.
const { data, metadata } = await fetchTwitchCampaignDonations({ baseUrl, campaignId, count: 50, pageNumber: 0,}); Copy
const { data, metadata } = await fetchTwitchCampaignDonations({ baseUrl, campaignId, count: 50, pageNumber: 0,});
Fetch a single page of Twitch charity donations for
campaignId. The return shape includes ametadata.nextPagecursor; pass it back aspageNumberto paginate.