Games of Stream

Good Afternoon,
I would like collect all games streamer play in live, or collect games played on vod.

For example:
xQcOW played all this games(https://streamscharts.com/channels/xqcow/streams/46352196221):

And i would like to collect all games, but I dont know if is possible, collect all data in api of twitch.

Thanks for helping me

It’s not possible to get historical stream data from the API.

If you wish to know what games a streamer has played you have to have to gather and store that information yourself as they are streaming, such as by polling the Get Streams endpoint or by using EventSub and subscribing to the channel.update, stream.online and stream.offline types.