class VideoCategories extends Resource (View source)

The "videoCategories" collection of methods.

Typical usage is:

 $youtubeService = new Google\Service\YouTube(...);
 $videoCategories = $youtubeService->videoCategories;

Methods

listVideoCategories(string|array $part, array $optParams = [])

Retrieves a list of resources, possibly filtered.

Details

VideoCategoryListResponse listVideoCategories(string|array $part, array $optParams = [])

Retrieves a list of resources, possibly filtered.

(videoCategories.listVideoCategories)

Parameters

string|array $part

The part parameter specifies the videoCategory resource properties that the API response will include. Set the parameter value to snippet.

array $optParams

Optional parameters.

Return Value

VideoCategoryListResponse

Exceptions

Exception