To start off I am very new to API’s so forgive me if I come off completely silly.
I am making a node js application and want to understand better, how I can get streams appearing over on one of my pages so when someone presses play, they can actually watch them.
I managed to log in, get my app keys and Client ID, however the question that I have is the following:
1)Trying to use GET requests over with POSTMAN, is not working. How can I get this one sorted?
2)I most probably am going to use AXXIOS inside my NodeJS application to pull data in. On my ENV file i added the client ID. How can I connect and get feedback from a get request in the VS code terminal initially? Do i have to place my secret key as well?
3)I have a page where I will make all axxios requests appear and get rendered on a page /streams. As I am quite new, how would you approach on getting let’s say 30 streams that include the word speedrun and are LIVE so someone can press play on them and see them?
4)For reference, I am trying to achieve something like this :
I am getting Unauthorized error, with status 401, OATH token is missing.
I have tried going inside POSTMAN, then inside Authorization get a new Token
On my Get new Access token page, I have the following
Token Name : API Token
Grant Type Authorization Code
Callback url : Blank
Auth URL : http://api.twitch.tv/helix/streams
Access Token URL : same as above
Client ID : my client id
Client Secret: my secret
Client Authentication : Basic header