How to use the API to get the top 20 streams

I don’t think any of that is necessary in my case. I just need to retrieve the top streams so I can use my script to manually take screens…