Failed to get stream data from Twitch API

Theres no bearer authorization token here

Nor any code to generate a token

Client ID’s are obtained from the Developer Console after signing up and creating a ClientID

Dev Console: Twitch Developers
Getting Started Guide: Get Started | Twitch Developers

This looks like python.

This python example that does code generation and and streams call might help you out