Need some help on Twitch API as a whole for IDGB

This helped a lot, thank you! Alright, I managed to get the key, how would I be able to connect to parts of the code using those keys? For example, I’m using the video game bit right here in Ruby:


I would need to put the keys in the beginning(Client ID and Authorization, aka Access Token), so they look something like this? :
Client_ID = My Client ID
Authorization = Bearer + Access Token
insert the code below
I’m trying it and keeps going like request, start, do start and doesn’t display anything, As in, these are errors.