Available on crate feature helix only.
Expand description

Gets the list of tags for a specified stream (channel). get-stream-tags

Accessing the endpoint

Request: GetStreamTagsRequest

To use this endpoint, construct a GetStreamTagsRequest with the GetStreamTagsRequest::builder() method.

use twitch_api2::helix::streams::get_stream_tags;
let request = get_stream_tags::GetStreamTagsRequest::builder()
    .broadcaster_id("1234")
    .build();

Response: Tag

Send the request to receive the response with HelixClient::req_get().

use twitch_api2::helix::{self, streams::get_stream_tags};
let request = get_stream_tags::GetStreamTagsRequest::builder()
    .broadcaster_id("1234")
    .build();
let response: Vec<get_stream_tags::Tag> = client.req_get(request, &token).await?.data;

You can also get the http::Request with request.create_request(&token, &client_id) and parse the http::Response with GetStreamTagsRequest::parse_response(None, &request.get_uri(), response)

Structs

Type Definitions

Return Values for Get Stream Tags