Class Google_Service_YouTube_VideoCategories_Resource
The "videoCategories" collection of methods. Typical usage is:
$youtubeService = new Google_Service_YouTube(...);
$videoCategories = $youtubeService->videoCategories;
-
Google_Service_Resource
-
Google_Service_YouTube_VideoCategories_Resource
Located at YouTube.php
Methods summary
public
Google_Service_YouTube_VideoCategoryListResponse
|
#
listVideoCategories( string $part, array $optParams = array() )
Returns a list of categories that can be associated with YouTube videos.
(videoCategories.listVideoCategories)
Returns a list of categories that can be associated with YouTube videos.
(videoCategories.listVideoCategories)
Parameters
- $part
- The part parameter specifies the videoCategory resource properties that the API
response will include. Set the parameter value to snippet.
- $optParams
- Optional parameters.
Returns
Opt_param
string hl The hl parameter specifies the language that should be used for text
values in the API response.
string id The id parameter specifies a comma-separated list of video category
IDs for the resources that you are retrieving.
string regionCode The regionCode parameter instructs the API to return the list
of video categories available in the specified country. The parameter value is
an ISO 3166-1 alpha-2 country code.
|