I am a little bit curious about the “Get Streams Metadata” end point.
GET https://api.twitch.tv/helix/streams/metadata
The official description in the reference is:
“Gets metadata information about active streams playing Overwatch or Hearthstone.”
What is the point in this?!
I don’t understand why it only returns data for “Overwatch” and “Heartstone”!?
Furthermore it has optional query string parameters.
For example it (should) be possible to add the parameter:
“game_id - string - Returns streams broadcasting the specified game ID. You can specify up to 100 IDs.”
But it still returns data for “Overwatch” and “Heartstone” which are null in this case.
Actually everything was null in the response of my tests except the user_id, for example:
curl -X GET 'https://api.twitch.tv/helix/streams/metadata?game_id=493551' -H 'Client-ID: xxxxxxxxxxxxxxxxxxxxxxx'
{
"data":[
{
"user_id":"42348215",
"game_id":null,
"overwatch":null,
"hearthstone":null
},
{
"user_id":"122322601",
"game_id":null,
"overwatch":null,
"hearthstone":null
},
...
],
"pagination":{
"cursor":"eyJiIjpudWxsLCJhIjp7Ik9mZnNldCI6MjB9fQ"
}
}
Is this something experimental?