Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

YouTube

import { YouTube } from "https://raw.githubusercontent.com/akshgpt7/youtube-api-deno/master/src/mod.ts";
class YouTube {
constructor(apiKey: string, accessToken: (boolean | string));
contentHeaders: schemas.header;
headers: schemas.header;
key: string;
token: (string | boolean);
 
protected create_url(method: string, params?: schemas.param);
activities_list(params: schemas.schema_activities_list);
captions_delete(params: schemas.schema_captions_delete);
captions_download(params: schemas.schema_captions_download);
captions_insert(params: schemas.schema_captions_insert, body: Record<string, unknown>);
captions_list(params: schemas.schema_captions_list);
captions_update(params: schemas.schema_captions_update, body: Record<string, unknown>);
channelBanners_insert(params: schemas.schema_channelBanners_insert, body?: Record<string, unknown>);
channels_list(params: schemas.schema_channels_list);
channels_update(params: schemas.schema_channels_update, body: Record<string, unknown>);
channelSections_delete(params: schemas.schema_channelSections_delete);
channelSections_insert(params: schemas.schema_channelBanners_insert, body: Record<string, unknown>);
channelSections_list(params: schemas.schema_channelSections_list);
channelSections_update(params: schemas.schema_channelSections_update, body: Record<string, unknown>);
comments_delete(params: schemas.schema_comments_delete);
comments_insert(params: schemas.schema_comments_insert, body: Record<string, unknown>);
comments_list(params: schemas.schema_comments_list);
comments_markAsSpam(params: schemas.schema_comments_markAsSpam);
comments_setModerationStatus(params: schemas.schema_comments_setModerationStatus);
comments_update(params: schemas.schema_comments_update, body?: Record<string, unknown>);
commentThreads_insert(params: schemas.schema_commentThreads_insert, body: Record<string, unknown>);
commentThreads_list(params: schemas.schema_commentThreads_list);
commentThreads_update(params: schemas.schema_commentThreads_update, body: Record<string, unknown>);
i18nLanguages_list(params: schemas.schema_i18nLanguages_list);
i18nRegions_list(params: schemas.schema_i18nRegions_list);
playlistItems_delete(params: schemas.schema_playlistItems_delete);
playlistItems_insert(params: schemas.schema_playlistItems_insert, body: Record<string, unknown>);
playlistItems_list(params: schemas.schema_playlistItems_list);
playlistItems_update(params: schemas.schema_playlistItems_update, body: Record<string, unknown>);
playlists_delete(params: schemas.schema_playlists_delete);
playlists_insert(params: schemas.schema_playlists_insert, body: Record<string, unknown>);
playlists_list(params: schemas.schema_playlists_list);
playlists_update(params: schemas.schema_playlists_update, body: Record<string, unknown>);
search_list(params: schemas.schema_search_list);
subscriptions_delete(params: schemas.schema_subscriptions_delete);
subscriptions_insert(params: schemas.schema_subscriptions_insert, body: Record<string, unknown>);
subscriptions_list(params: schemas.schema_subscriptions_list);
thumbnails_set(params: schemas.schema_thumbnails_set, body?: Record<string, unknown>);
videoAbuseReportReasons_list(params: schemas.schema_videoAbuseReportReasons_list);
videoCategories_list(params: schemas.schema_videoCategories_list);
videos_delete(params: schemas.schema_videos_delete);
videos_getRating(params: schemas.schema_videos_getRating);
videos_insert(params: schemas.schema_videos_insert, body: Record<string, unknown>);
videos_list(params: schemas.schema_videos_list);
videos_rate(params: schemas.schema_videos_rate);
videos_reportAbuse(params: schemas.schema_videos_reportAbuse, body: Record<string, unknown>);
videos_update(params: schemas.schema_videos_update, body: Record<string, unknown>);
watermarks_set(params: schemas.schema_watermarks_set, body: Record<string, unknown>);
watermarks_unset(params: schemas.schema_watermarks_unset);
}

§Constructors

§
new YouTube(apiKey: string, accessToken: (boolean | string))
[src]

§Properties

§
contentHeaders: schemas.header
[src]
§
headers: schemas.header
[src]
§
key: string
[src]
§
token: (string | boolean)
[src]

§Methods

§
create_url(method: string, params?: schemas.param) protected
[src]
§
activities_list(params: schemas.schema_activities_list)
[src]
§
captions_delete(params: schemas.schema_captions_delete)
[src]
§
captions_download(params: schemas.schema_captions_download)
[src]
§
captions_insert(params: schemas.schema_captions_insert, body: Record<string, unknown>)
[src]
§
captions_list(params: schemas.schema_captions_list)
[src]
§
captions_update(params: schemas.schema_captions_update, body: Record<string, unknown>)
[src]
§
channelBanners_insert(params: schemas.schema_channelBanners_insert, body?: Record<string, unknown>)
[src]
§
channels_list(params: schemas.schema_channels_list)
[src]
§
channels_update(params: schemas.schema_channels_update, body: Record<string, unknown>)
[src]
§
channelSections_delete(params: schemas.schema_channelSections_delete)
[src]
§
channelSections_insert(params: schemas.schema_channelBanners_insert, body: Record<string, unknown>)
[src]
§
channelSections_list(params: schemas.schema_channelSections_list)
[src]
§
channelSections_update(params: schemas.schema_channelSections_update, body: Record<string, unknown>)
[src]
§
comments_delete(params: schemas.schema_comments_delete)
[src]
§
comments_insert(params: schemas.schema_comments_insert, body: Record<string, unknown>)
[src]
§
comments_list(params: schemas.schema_comments_list)
[src]
§
comments_markAsSpam(params: schemas.schema_comments_markAsSpam)
[src]
§
comments_setModerationStatus(params: schemas.schema_comments_setModerationStatus)
[src]
§
comments_update(params: schemas.schema_comments_update, body?: Record<string, unknown>)
[src]
§
commentThreads_insert(params: schemas.schema_commentThreads_insert, body: Record<string, unknown>)
[src]
§
commentThreads_list(params: schemas.schema_commentThreads_list)
[src]
§
commentThreads_update(params: schemas.schema_commentThreads_update, body: Record<string, unknown>)
[src]
§
i18nLanguages_list(params: schemas.schema_i18nLanguages_list)
[src]
§
i18nRegions_list(params: schemas.schema_i18nRegions_list)
[src]
§
playlistItems_delete(params: schemas.schema_playlistItems_delete)
[src]
§
playlistItems_insert(params: schemas.schema_playlistItems_insert, body: Record<string, unknown>)
[src]
§
playlistItems_list(params: schemas.schema_playlistItems_list)
[src]
§
playlistItems_update(params: schemas.schema_playlistItems_update, body: Record<string, unknown>)
[src]
§
playlists_delete(params: schemas.schema_playlists_delete)
[src]
§
playlists_insert(params: schemas.schema_playlists_insert, body: Record<string, unknown>)
[src]
§
playlists_list(params: schemas.schema_playlists_list)
[src]
§
playlists_update(params: schemas.schema_playlists_update, body: Record<string, unknown>)
[src]
§
search_list(params: schemas.schema_search_list)
[src]
§
subscriptions_delete(params: schemas.schema_subscriptions_delete)
[src]
§
subscriptions_insert(params: schemas.schema_subscriptions_insert, body: Record<string, unknown>)
[src]
§
subscriptions_list(params: schemas.schema_subscriptions_list)
[src]
§
thumbnails_set(params: schemas.schema_thumbnails_set, body?: Record<string, unknown>)
[src]
§
videoAbuseReportReasons_list(params: schemas.schema_videoAbuseReportReasons_list)
[src]
§
videoCategories_list(params: schemas.schema_videoCategories_list)
[src]
§
videos_delete(params: schemas.schema_videos_delete)
[src]
§
videos_getRating(params: schemas.schema_videos_getRating)
[src]
§
videos_insert(params: schemas.schema_videos_insert, body: Record<string, unknown>)
[src]
§
videos_list(params: schemas.schema_videos_list)
[src]
§
videos_rate(params: schemas.schema_videos_rate)
[src]
§
videos_reportAbuse(params: schemas.schema_videos_reportAbuse, body: Record<string, unknown>)
[src]
§
videos_update(params: schemas.schema_videos_update, body: Record<string, unknown>)
[src]
§
watermarks_set(params: schemas.schema_watermarks_set, body: Record<string, unknown>)
[src]
§
watermarks_unset(params: schemas.schema_watermarks_unset)
[src]