googleapis.youtube.v3 library

Classes

AbuseReport
AbuseReportsResourceApi
AbuseType
AccessPolicy
Rights management policy for YouTube resources.
ActivitiesResourceApi
Activity
An activity resource contains information about an action that a particular channel, or user, has taken on YouTube.The actions reported in activity feeds include rating a video, sharing a video, marking a video as a favorite, commenting on a video, uploading a video, and so forth. Each activity resource identifies the type of action, the channel associated with the action, and the resource(s) associated with the action, such as the video that was rated or uploaded.
ActivityContentDetails
Details about the content of an activity: the video that was shared, the channel that was subscribed to, etc.
ActivityContentDetailsBulletin
Details about a channel bulletin post.
ActivityContentDetailsChannelItem
Details about a resource which was added to a channel.
ActivityContentDetailsComment
Information about a resource that received a comment.
ActivityContentDetailsFavorite
Information about a video that was marked as a favorite video.
ActivityContentDetailsLike
Information about a resource that received a positive (like) rating.
ActivityContentDetailsPlaylistItem
Information about a new playlist item.
ActivityContentDetailsPromotedItem
Details about a resource which is being promoted.
ActivityContentDetailsRecommendation
Information that identifies the recommended resource.
ActivityContentDetailsSocial
Details about a social network post.
ActivityContentDetailsSubscription
Information about a channel that a user subscribed to.
ActivityContentDetailsUpload
Information about the uploaded video.
ActivityListResponse
ActivitySnippet
Basic details about an activity, including title, description, thumbnails, activity type and group. Next ID: 12
ByteRange
Specifies a range of media.
Caption
A caption resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.
CaptionListResponse
CaptionSnippet
Basic details about a caption track, such as its language and name.
CaptionsResourceApi
CdnSettings
Brief description of the live stream cdn settings.
Channel
A channel resource contains information about a YouTube channel.
ChannelAuditDetails
The auditDetails object encapsulates channel data that is relevant for YouTube Partners during the audit process.
ChannelBannerResource
A channel banner returned as the response to a channel_banner.insert call.
ChannelBannersResourceApi
ChannelBrandingSettings
Branding properties of a YouTube channel.
ChannelContentDetails
Details about the content of a channel.
ChannelContentDetailsRelatedPlaylists
ChannelContentOwnerDetails
The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel.
ChannelConversionPing
Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping.
ChannelConversionPings
The conversionPings object encapsulates information about conversion pings that need to be respected by the channel.
ChannelListResponse
ChannelLocalization
Channel localization setting
ChannelProfileDetails
ChannelSection
ChannelSectionContentDetails
Details about a channelsection, including playlists and channels.
ChannelSectionListResponse
ChannelSectionLocalization
ChannelSection localization setting
ChannelSectionSnippet
Basic details about a channel section, including title, style and position.
ChannelSectionsResourceApi
ChannelSectionTargeting
ChannelSection targeting setting.
ChannelSettings
Branding properties for the channel view.
ChannelSnippet
Basic details about a channel, including title, description and thumbnails.
ChannelsResourceApi
ChannelStatistics
Statistics about a channel: number of subscribers, number of videos in the channel, etc.
ChannelStatus
JSON template for the status part of a channel.
ChannelTopicDetails
Freebase topic information related to the channel.
ChannelToStoreLinkDetails
Information specific to a store on a merchandising platform linked to a YouTube channel.
Comment
A comment represents a single YouTube comment.
CommentListResponse
CommentSnippet
Basic details about a comment, such as its author and text.
CommentSnippetAuthorChannelId
The id of the author's YouTube channel, if any.
CommentsResourceApi
CommentThread
A comment thread represents information that applies to a top level comment and all its replies. It can also include the top level comment itself and some of the replies.
CommentThreadListResponse
CommentThreadReplies
Comments written in (direct or indirect) reply to the top level comment.
CommentThreadSnippet
Basic details about a comment thread.
CommentThreadsResourceApi
ContentRating
Ratings schemes. The country-specific ratings are mostly for movies and shows. LINT.IfChange
DownloadOptions
Represents options for downloading media. [...]
Entity
GeoPoint
Geographical coordinates of a point, in WGS84.
I18nLanguage
An i18nLanguage resource identifies a UI language currently supported by YouTube.
I18nLanguageListResponse
I18nLanguageSnippet
Basic details about an i18n language, such as language code and human-readable name.
I18nLanguagesResourceApi
I18nRegion
A i18nRegion resource identifies a region where YouTube is available.
I18nRegionListResponse
I18nRegionSnippet
Basic details about an i18n region, such as region code and human-readable name.
I18nRegionsResourceApi
ImageSettings
Branding properties for images associated with the channel.
IngestionInfo
Describes information necessary for ingesting an RTMP or an HTTP stream.
InvideoBranding
LINT.IfChange Describes an invideo branding.
InvideoPosition
Describes the spatial position of a visual widget inside a video. It is a union of various position types, out of which only will be set one.
InvideoTiming
Describes a temporal position of a visual widget inside a video.
LanguageTag
LevelDetails
LiveBroadcast
A liveBroadcast resource represents an event that will be streamed, via live video, on YouTube.
LiveBroadcastContentDetails
Detailed settings of a broadcast.
LiveBroadcastListResponse
LiveBroadcastSnippet
Basic broadcast information.
LiveBroadcastsResourceApi
LiveBroadcastStatistics
Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts.
LiveBroadcastStatus
Live broadcast state.
LiveChatBan
A __liveChatBan__ resource represents a ban for a YouTube live chat.
LiveChatBanSnippet
LiveChatBansResourceApi
LiveChatFanFundingEventDetails
LiveChatMessage
A liveChatMessage resource represents a chat message in a YouTube Live Chat.
LiveChatMessageAuthorDetails
LiveChatMessageDeletedDetails
LiveChatMessageListResponse
LiveChatMessageRetractedDetails
LiveChatMessageSnippet
LiveChatMessagesResourceApi
LiveChatModerator
A liveChatModerator resource represents a moderator for a YouTube live chat. A chat moderator has the ability to ban/unban users from a chat, remove message, etc.
LiveChatModeratorListResponse
LiveChatModeratorSnippet
LiveChatModeratorsResourceApi
LiveChatSuperChatDetails
LiveChatSuperStickerDetails
LiveChatTextMessageDetails
LiveChatUserBannedMessageDetails
LiveStream
A live stream describes a live ingestion point.
LiveStreamConfigurationIssue
LiveStreamContentDetails
Detailed settings of a stream.
LiveStreamHealthStatus
LiveStreamListResponse
LiveStreamSnippet
LiveStreamsResourceApi
LiveStreamStatus
Brief description of the live stream status.
LocalizedProperty
LocalizedString
Media
Represents a media consisting of a stream of bytes, a content type and a length.
Member
A member resource represents a member for a YouTube channel. A member provides recurring monetary support to a creator and receives special benefits.
MemberListResponse
MembershipsDetails
MembershipsDuration
MembershipsDurationAtLevel
MembershipsLevel
A membershipsLevel resource represents an offer made by YouTube creators for their fans. Users can become members of the channel by joining one of the available levels. They will provide recurring monetary support and receives special benefits.
MembershipsLevelListResponse
MembershipsLevelSnippet
MembershipsLevelsResourceApi
MemberSnippet
MembersResourceApi
MonitorStreamInfo
Settings and Info of the monitor stream
PageInfo
Paging details for lists of resources, including total number of items available and number of resources returned in a single page.
PartialDownloadOptions
Options for downloading a Media.
Playlist
A playlist resource represents a YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared with other users. A playlist can contain up to 200 videos, and YouTube does not limit the number of playlists that each user creates. By default, playlists are publicly visible to other users, but playlists can be public or private. YouTube also uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history - watch later To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company's videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistItems.list method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems.insert and playlistItems.delete methods.
PlaylistContentDetails
PlaylistItem
A playlistItem resource identifies another resource, such as a video, that is included in a playlist. In addition, the playlistItem resource contains details about the included resource that pertain specifically to how that resource is used in that playlist. YouTube uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history - watch later To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company's videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistItems.list method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems.insert and playlistItems.delete methods. For example, if a user gives a positive rating to a video, you would insert that video into the liked videos playlist for that user's channel.
PlaylistItemContentDetails
PlaylistItemListResponse
PlaylistItemSnippet
Basic details about a playlist, including title, description and thumbnails. Basic details of a YouTube Playlist item provided by the author. Next ID: 13
PlaylistItemsResourceApi
PlaylistItemStatus
Information about the playlist item's privacy status.
PlaylistListResponse
PlaylistLocalization
Playlist localization setting
PlaylistPlayer
PlaylistSnippet
Basic details about a playlist, including title, description and thumbnails.
PlaylistsResourceApi
PlaylistStatus
PropertyValue
A pair Property / Value.
RelatedEntity
ResourceId
A resource id is a generic reference that points to another YouTube resource.
ResumableUploadOptions
Specifies options for resumable uploads.
SearchListResponse
SearchResourceApi
SearchResult
A search result contains information about a YouTube video, channel, or playlist that matches the search parameters specified in an API request. While a search result points to a uniquely identifiable resource, like a video, it does not have its own persistent data.
SearchResultSnippet
Basic details about a search result, including title, description and thumbnails of the item referenced by the search result.
A __sponsor__ resource represents a sponsor for a YouTube channel. A sponsor provides recurring monetary support to a creator and receives special benefits.
SponsorListResponse
SponsorSnippet
SponsorsResourceApi
Subscription
A subscription resource contains information about a YouTube user subscription. A subscription notifies a user when new videos are added to a channel or when another user takes one of several actions on YouTube, such as uploading a video, rating a video, or commenting on a video.
SubscriptionContentDetails
Details about the content to witch a subscription refers.
SubscriptionListResponse
SubscriptionSnippet
Basic details about a subscription, including title, description and thumbnails of the subscribed item.
SubscriptionsResourceApi
SubscriptionSubscriberSnippet
Basic details about a subscription's subscriber including title, description, channel ID and thumbnails.
SuperChatEvent
A __superChatEvent__ resource represents a Super Chat purchase on a YouTube channel.
SuperChatEventListResponse
SuperChatEventSnippet
SuperChatEventsResourceApi
SuperStickerMetadata
TestItem
TestItemTestItemSnippet
TestsResourceApi
A third party account link resource represents a link between a YouTube account or a channel and an account on a third-party service.
ThirdPartyLinkSnippet
Basic information about a third party account link, including its type and type-specific information.
ThirdPartyLinksResourceApi
ThirdPartyLinkStatus
The third-party link status object contains information about the status of the link.
Thumbnail
A thumbnail is an image representing a YouTube resource.
ThumbnailDetails
Internal representation of thumbnails for a YouTube resource.
ThumbnailSetResponse
ThumbnailsResourceApi
TokenPagination
Stub token pagination template to suppress results.
UploadOptions
Represents options for uploading a Media.
Video
A video resource represents a YouTube video.
VideoAbuseReport
VideoAbuseReportReason
A __videoAbuseReportReason__ resource identifies a reason that a video could be reported as abusive. Video abuse report reasons are used with video.ReportAbuse.
VideoAbuseReportReasonListResponse
VideoAbuseReportReasonSnippet
Basic details about a video category, such as its localized title.
VideoAbuseReportReasonsResourceApi
VideoAbuseReportSecondaryReason
VideoAgeGating
VideoCategoriesResourceApi
VideoCategory
A videoCategory resource identifies a category that has been or could be associated with uploaded videos.
VideoCategoryListResponse
VideoCategorySnippet
Basic details about a video category, such as its localized title.
VideoContentDetails
Details about the content of a YouTube Video.
VideoContentDetailsRegionRestriction
DEPRECATED Region restriction of the video.
VideoFileDetails
Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information.
VideoFileDetailsAudioStream
Information about an audio stream.
VideoFileDetailsVideoStream
Information about a video stream.
VideoListResponse
VideoLiveStreamingDetails
Details about the live streaming metadata.
VideoLocalization
Localized versions of certain video properties (e.g. title).
VideoMonetizationDetails
Details about monetization of a YouTube Video.
VideoPlayer
Player to be used for a video playback.
VideoProcessingDetails
Describes processing status and progress and availability of some other Video resource parts.
VideoProcessingDetailsProcessingProgress
Video processing progress and completion time estimate.
VideoProjectDetails
Project specific details about the content of a YouTube Video.
VideoRating
Basic details about rating of a video.
VideoRatingListResponse
VideoRecordingDetails
Recording information associated with the video.
VideoSnippet
Basic details about a video, including title, description, uploader, thumbnails and category.
VideosResourceApi
VideoStatistics
Statistics about the video, such as the number of times the video was viewed or liked.
VideoStatus
Basic details about a video category, such as its localized title. Next Id: 17
VideoSuggestions
Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions.
VideoSuggestionsTagSuggestion
A single tag suggestion with it's relevance information.
VideoTopicDetails
Freebase topic information related to the video.
WatchSettings
Branding properties for the watch. All deprecated.
WatermarksResourceApi
YoutubeApi
The YouTube Data API v3 is an API that provides access to YouTube data, such as videos, playlists, and channels.

Constants

USER_AGENT → const String
'dart-api-client youtube/v3'

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.