TwitchApi.Streams.GetStreamKey (TwitchApi v0.1.0) View Source

⛔ This module is autogenerated please do not modify manually.

Example request from twitch api docs:

descriptions:

requests:

curl -X GET 'https://api.twitch.tv/helix/streams/key'
-H'Authorization: Bearer cfabdegwdoklmawdzdo98xt2fo512y'
-H'Client-Id: uo6dggojyb8d6soh92zknwmi5ej1q2'

Example response from twitch api docs:

descriptions:

responses:

{"data":[{"stream_key":"live_44322889_a34ub37c8ajv98a0"},]}

Link to this section Summary

Functions

Description:

Gets the channel stream key for a user.

Link to this section Types

Specs

broadcaster_id() :: %{broadcaster_id: String.t()}

Specs

user_info() :: %{user_id: integer() | binary()} | %{user_name: binary()}

Link to this section Functions

Specs

call(broadcaster_id(), user_info()) ::
  {:ok, Finch.Response.t()} | {:error, Exception.t()}

Description:

Gets the channel stream key for a user.

Required authentication:

User OAuth token Required scope: channel:read:stream_key

Required authorization: