BlushyFace.Twitch
BlushyFace.Twitch.API.Helix.Endpoints.Streams Class Reference

Partially implemented More...

Public Member Functions

 Streams (HttpHandler httpHandler)
 
async Task< StreamTagsResponse > GetAllStreamTagsAsync (List< KeyValuePair< string, string >> parameters=null)
 
async Task< StreamTagsResponse > GetStreamTagsAsync (List< KeyValuePair< string, string >> parameters=null)
 
async Task< string > ReplaceStreamTagsAsync (List< KeyValuePair< string, string >> parameters)
 
async Task< StreamKeyResponse > GetStreamKeyAsync (List< KeyValuePair< string, string >> parameters=null)
 

Detailed Description

Partially implemented

Member Function Documentation

◆ GetAllStreamTagsAsync()

async Task<StreamTagsResponse> BlushyFace.Twitch.API.Helix.Endpoints.Streams.GetAllStreamTagsAsync ( List< KeyValuePair< string, string >>  parameters = null)
inline

Gets the list of all stream tags defined by Twitch, optionally filtered by tag ID(s).

The response has a JSON payload with a data field containing an array of tag elements and a pagination field containing information required to query for more tags.

More info: https://dev.twitch.tv/docs/api/reference#get-all-stream-tags

Parameters
parameters
Returns

◆ GetStreamKeyAsync()

async Task<StreamKeyResponse> BlushyFace.Twitch.API.Helix.Endpoints.Streams.GetStreamKeyAsync ( List< KeyValuePair< string, string >>  parameters = null)
inline

Gets the channel stream key for a user.

Required scope: channel:read:stream_key

More info: https://dev.twitch.tv/docs/api/reference#get-stream-key

Parameters
parameters
Returns

◆ GetStreamTagsAsync()

async Task<StreamTagsResponse> BlushyFace.Twitch.API.Helix.Endpoints.Streams.GetStreamTagsAsync ( List< KeyValuePair< string, string >>  parameters = null)
inline

Gets the list of tags for a specified stream (channel). The response has a JSON payload with a data field containing an array of tag elements.

Required Query String Parameter: broadcaster_id

More info: https://dev.twitch.tv/docs/api/reference#get-stream-tags

Parameters
parameters
Returns

◆ ReplaceStreamTagsAsync()

async Task<string> BlushyFace.Twitch.API.Helix.Endpoints.Streams.ReplaceStreamTagsAsync ( List< KeyValuePair< string, string >>  parameters)
inline

Applies specified tags to a specified stream, overwriting any existing tags applied to that stream. If no tags are specified, all tags previously applied to the stream are removed. Automated tags are not affected by this operation.

user:edit:broadcast

Required Query String Parameter: broadcaster_id

More info: https://dev.twitch.tv/docs/api/reference#replace-stream-tags

Parameters
parameters
Returns