How to get streams under specific games

Hi~ guys, I have problems at doing this. I know how to get streams or get games. But I have no idea about how to put these together.
I want to print 100 popular streams when I search the game. ex: node test.js “Apex Legends” , the command line will show the popular streams for that games.

what can I do ? thank you for your helping!


To get the Game ID

Then call

with a game ID filter


That example calls “get top games” then passes those game ID’s to get streams

thank you for your help.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.