TwitchApi.Teams.GetChannelTeams (TwitchApi v0.1.2) View Source
⛔ This module is autogenerated please do not modify manually.
Example request from twitch api docs:
descriptions:
Retrieves a list of Twitch Teams that the broadcaster CSharpFritz belongs to.
requests:
curl -X GET 'https://api.twitch.tv/helix/teams/channel?broadcaster_id=96909659'
-H'Authorization: Bearer 2gbdx6oar67tqtcmt49t3wpcgycthx'
-H'Client-Id: wbmytr93xzw8zbg0p1izqyzzc5mbiz'
Example response from twitch api docs:
descriptions:
responses:
{"data":[{"broadcaster_id":"96909659","broadcaster_name":"CSharpFritz","broadcaster_login":"csharpfritz","background_image_url":null,"banner":null,"created_at":"2019-02-11T12:09:22Z","updated_at":"2020-11-18T15:56:41Z","info":"<p>An outgoing and enthusiastic group of friendly channels that write code, teach about technology, and promote the technical community.</p>","thumbnail_url":"https://static-cdn.jtvnw.net/jtv_user_pictures/team-livecoders-team_logo_image-bf1d9a87ca81432687de60e24ad9593d-600x600.png","team_name":"livecoders","team_display_name":"Live Coders","id":"6358"}]}
Link to this section Summary
Types
User ID for a Twitch user.
Link to this section Types
Specs
broadcaster_id() :: %{broadcaster_id: String.t()}
User ID for a Twitch user.
Link to this section Functions
Specs
call(broadcaster_id()) :: {:ok, Finch.Response.t()} | {:error, Exception.t()}
Description:
Retrieves a list of Twitch Teams of which the specified channel/broadcaster is a member.
Required authentication:
User OAuth Token or App Access Token