Check if user is streaming

I’ve looked through this but i have no idea how i would implement this but if i understand it correctly my app needs to log in to twitch before it can return any data. With client id being mine and client secret being my password right?