To get the channel information for https://www.twitch.tv/twitch
First convert Twitch to a user ID with Get Users
https://api.twitch.tv/helix/users?login=twitch
That’ll give you an an object with an array one one entry and you’ll find the ID is 12826
Then you use that on Get channel Info
https://api.twitch.tv/helix/channels?broadcaster_id=12826
Which will yield, an object with an array one one entry
{
"data": [
{
"broadcaster_id": "12826",
"broadcaster_language": "en",
"broadcaster_login": "twitch",
"broadcaster_name": "Twitch",
"delay": 0,
"game_id": "509658",
"game_name": "Just Chatting",
"tags": [
"twıtch",
"AAPI",
"twitchpublicaccess"
],
"title": "Twitch Public Access: AAPI Heritage Month w/ @merrykish @rayapollo @kaycem @daydreamerdan"
}
]
}
Then you just parse out the JSON as needed