TwitchApi.Clips.CreateClip (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 POST 'https://api.twitch.tv/helix/clips?broadcaster_id=44322889'
-H'Authorization: Bearer cfabdegwdoklmawdzdo98xt2fo512y'
-H'Client-Id: uo6dggojyb8d6soh92zknwmi5ej1q2'

Example response from twitch api docs:

descriptions:

responses:

{"data":[{"id":"FiveWordsForClipSlug","edit_url":"http://clips.twitch.tv/FiveWordsForClipSlug/edit"}]}

Link to this section Summary

Functions

Description:

Creates a clip programmatically. This returns both an ID and an edit URL for the new clip.

Link to this section Types

Specs

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

Specs

has_delay() :: %{has_delay: boolean()}

Specs

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

Link to this section Functions

Specs

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

Description:

Creates a clip programmatically. This returns both an ID and an edit URL for the new clip.

Required authentication:

OAuth token required Required scope: clips:edit

Required authorization: