Typically, when working on the internet, you retrieve data from external sources using web APIs.
It seems like Twitch's API doesn't support this functionality by default. I'm not very experienced with Twitch, but it appears they don't have built-in capabilities for this. If the streamer you're interested in has a specific service for donations, they might offer an API that provides access to this information.
You can find the details of what you can get from Twitch's API here:
If you want to learn how to make API requests from a webpage, I recommend checking out some tutorials and exploring the use of the fetch
method: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API