This example first uses Implicit Auth to get a token to use then will retrun a page similar to The Directorty.

Get the code for this example on Github or just View the source instead

After authenticating to get a Key, it calls Get Top Games then calls the first few pages of Get Streams for that game to get an approx viewer count.

Authorize

Page Loading Status

Status output as each page of streams for that gameID loads

GameID Status 1 2 3 4 ...

The Directory