Test if Twitch stream is live with Python and TwitchAPI

No you need to put your token there that is generated yourself. Example code for that:
https://github.com/BarryCarlyon/twitch_misc/tree/master/authentication/app_access_tokens/python

HUGE ALERTING MASSIVE FLASHING TEXT IN RED → Its iDEFINTELY NOT your client secret.

Steps:

  1. Use Client ID + Client Secret to generate an App Access Token
  2. Use that App Access Token as the authorisation header