You can either add &api_version=5 to the end of the request URL, or add the header Accept: application/vnd.twitchtv.v5+json. Also, when using v5 you will need to use a channel ID rather than a channel name
You can either add &api_version=5 to the end of the request URL, or add the header Accept: application/vnd.twitchtv.v5+json. Also, when using v5 you will need to use a channel ID rather than a channel name