Videos
class Videos extends Resource (View source)
The "videos" collection of methods.
Typical usage is:
$youtubeService = new Google\Service\YouTube(...);
$videos = $youtubeService->videos;
Methods
Deletes a resource. (videos.delete)
Retrieves the ratings that the authorized user gave to a list of specified videos. (videos.getRating)
Retrieves a list of resources, possibly filtered. (videos.listVideos)
Adds a like or dislike rating to a video or removes a rating from a video.
Report abuse for a video. (videos.reportAbuse)
Details
delete(string $id, array $optParams = [])
Deletes a resource. (videos.delete)
VideoGetRatingResponse
getRating(string|array $id, array $optParams = [])
Retrieves the ratings that the authorized user gave to a list of specified videos. (videos.getRating)
Video
insert(string|array $part, Video $postBody, array $optParams = [])
Inserts a new resource into this collection. (videos.insert)
VideoListResponse
listVideos(string|array $part, array $optParams = [])
Retrieves a list of resources, possibly filtered. (videos.listVideos)
rate(string $id, string $rating, array $optParams = [])
Adds a like or dislike rating to a video or removes a rating from a video.
(videos.rate)
reportAbuse(VideoAbuseReport $postBody, array $optParams = [])
Report abuse for a video. (videos.reportAbuse)