How do I get correct OAuth token?

Also worth noting that for public data (such as games/top) you don’t need any scopes.

But if this is a server application, to routinely fetch/update games/top for your own use, you should be using client credentials as the token you have obtained will only work for 60 days or so