How to use the API to get the top 20 streams

The library you are using seems to do it for you

oAuth depends on the kind of token you want/need

Server to Server requests can use an App Access Token
If you have a logged in user to your app you can use a user access token generated one of two ways
User data may require a specific users user access token

So depends how you can authenticate.