TwitchApi.Schedule.GetChanneliCalendar (TwitchApi v0.1.2) View Source
⛔ This module is autogenerated please do not modify manually.
Example request from twitch api docs:
descriptions:
Returns all scheduled broadcasts from the TwitchDev channel’s stream schedule as an iCalendar.
requests:
curl -X GET 'https://api.twitch.tv/helix/schedule/icalendar?broadcaster_id=141981764'
Example response from twitch api docs:
descriptions:
responses:
BEGIN:VCALENDAR PRODID:-//twitch.tv//StreamSchedule//1.0 VERSION:2.0 CALSCALE:GREGORIAN REFRESH-INTERVAL;VALUE=DURATION:PT1H NAME:TwitchDev BEGIN:VEVENT UID:e4acc724-371f-402c-81ca-23ada79759d4 DTSTAMP:20210323T040131Z DTSTART;TZID=/America/New_York:20210701T140000 DTEND;TZID=/America/New_York:20210701T150000 SUMMARY:TwitchDev Monthly Update // July 1, 2021 DESCRIPTION:Science & Technology. CATEGORIES:Science & Technology END:VEVENT END:VCALENDAR%
Link to this section Summary
Types
User ID of the broadcaster who owns the channel streaming schedule.Maximum: 1
Map containing the user needed information for the fetch of the required user OAuth access token. You will be able to choose from one way or the other for fetching previously OAuth access tokens. :user_id field contains the user ID from twitch, e.g. 61425548 or "61425548" :user_name field constains the user name from twitch, e.g. "hiimkamiyuzu"
Functions
Description:
NEW Gets all scheduled broadcasts from a channel’s stream schedule as an iCalendar.
Link to this section Types
Specs
broadcaster_id() :: %{broadcaster_id: String.t()}
User ID of the broadcaster who owns the channel streaming schedule.Maximum: 1
Specs
Map containing the user needed information for the fetch of the required user OAuth access token. You will be able to choose from one way or the other for fetching previously OAuth access tokens. :user_id field contains the user ID from twitch, e.g. 61425548 or "61425548" :user_name field constains the user name from twitch, e.g. "hiimkamiyuzu"
Link to this section Functions
Specs
call(broadcaster_id(), user_info()) :: {:ok, Finch.Response.t()} | {:error, Exception.t()}
Description:
NEW Gets all scheduled broadcasts from a channel’s stream schedule as an iCalendar.
Required authentication:
Required authorization:
None. OAuth token and Client ID not required.