YouTubePHP Documentation

Resources

This file is generated from spec/discovery.json (YouTube Data API v3, revision 20260924) by tools/generate.php. Do not edit it by hand - run `composer spec:build` instead.

One API object per resource, as properties of YouTube: $youtube->liveChatMessages->list(...).

Tags
since
1.0.0

Table of Contents

Properties

$abuseReports  : AbuseReportsApi
Reports of abuse.
$activities  : ActivitiesApi
What a channel has been doing: uploads, likes, playlist changes and the rest of its feed.
$captions  : CaptionsApi
The caption tracks of videos.
$channelBanners  : ChannelBannersApi
Uploading a channel's banner image.
$channels  : ChannelsApi
Channels, the signed-in account's own included.
$channelSections  : ChannelSectionsApi
The shelves on a channel's page.
$comments  : CommentsApi
Single comments and replies, and moderating them.
$commentThreads  : CommentThreadsApi
Top-level comments, with their replies.
$i18nLanguages  : I18nLanguagesApi
The interface languages YouTube supports.
$i18nRegions  : I18nRegionsApi
The content regions YouTube supports.
$liveBroadcasts  : LiveBroadcastsApi
Live broadcasts: scheduling one, binding it to a stream, going live and ending it.
$liveChatBans  : LiveChatBansApi
Banning people from a live chat, and lifting bans.
$liveChatMessages  : LiveChatMessagesApi
Live chat: reading it, posting to it, and deleting from it.
$liveChatModerators  : LiveChatModeratorsApi
A live chat's moderators.
$liveStreams  : LiveStreamsApi
The video streams that live broadcasts are fed from.
$members  : MembersApi
A channel's members, which the API also calls sponsors.
$membershipsLevels  : MembershipsLevelsApi
A channel's membership levels.
$playlistImages  : PlaylistImagesApi
Playlists' cover images.
$playlistItems  : PlaylistItemsApi
The videos in playlists.
$playlists  : PlaylistsApi
Playlists.
$search  : SearchApi
Searching for videos, channels and playlists. It has its own quota: 100 calls a day.
$subscriptions  : SubscriptionsApi
Subscriptions between channels.
$superChatEvents  : SuperChatEventsApi
The Super Chats and Super Stickers bought on the signed-in channel.
$tests  : TestsApi
An internal method Google uses to test the API.
$thirdPartyLinks  : ThirdPartyLinksApi
Links between a channel and third-party services.
$thumbnails  : ThumbnailsApi
Setting a video's custom thumbnail.
$videoAbuseReportReasons  : VideoAbuseReportReasonsApi
The reasons a video can be reported for.
$videoCategories  : VideoCategoriesApi
The categories a video can be filed under.
$videos  : VideosApi
Videos: listing, uploading, updating, rating and reporting them.
$videoTrainability  : VideoTrainabilityApi
Whether a video may be used to train AI models.
$watermarks  : WatermarksApi
A channel's watermark image.

Methods

bootResources()  : void
Builds every resource API against this client.

Properties

$activities read-only

What a channel has been doing: uploads, likes, playlist changes and the rest of its feed.

public ActivitiesApi $activities

$liveBroadcasts read-only

Live broadcasts: scheduling one, binding it to a stream, going live and ending it.

public LiveBroadcastsApi $liveBroadcasts

$members read-only

A channel's members, which the API also calls sponsors.

public MembersApi $members

Searching for videos, channels and playlists. It has its own quota: 100 calls a day.

public SearchApi $search

$superChatEvents read-only

The Super Chats and Super Stickers bought on the signed-in channel.

public SuperChatEventsApi $superChatEvents

$tests read-only

An internal method Google uses to test the API.

public TestsApi $tests

$videos read-only

Videos: listing, uploading, updating, rating and reporting them.

public VideosApi $videos

Methods

bootResources()

Builds every resource API against this client.

private bootResources() : void
On this page

Search results