I tried to get twitch api information but request dosent show anything
using (var httpClient = new HttpClient())
{
using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.twitch.tv/helix/streams?game_id=33214"))
{
request.Headers.TryAddWithoutValidation("Client-ID", "ozzdg2w66nugbxdhrzzy5d7z");
var response = await httpClient.SendAsync(request);
}
}
I would use api request to get output precise number, but twitch channel names are not working anymore and you need channel ID which are private.
Basically what I need are 3 things:
Is channel live (true/false)
Live viewership count
thumbnail picture
Is there a way get those data? Or I need to know the secret ID?