Show stream on/off on HTML page

There is the Client Credentials flow, but this should only be done server-side as you must not expose tokens from that flow to front end users, which means you would need the frontend to send a request to your server which makes the Get Streams request and then responds back to the frontend to display the text that you wish.