The "videoCategories" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| listVideoCategories ($part, $optParams=array()) |
| Returns a list of categories that can be associated with YouTube videos.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "videoCategories" collection of methods.
Typical usage is: $youtubeService = new Google_Service_YouTube(...); $videoCategories = $youtubeService->videoCategories;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ listVideoCategories()
Google_Service_YouTube_VideoCategories_Resource::listVideoCategories |
( |
| $part, |
|
|
| $optParams = array() ) |
Returns a list of categories that can be associated with YouTube videos.
(videoCategories.listVideoCategories)
- Parameters
-
string | $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. |
@opt_param 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. @opt_param string id The id parameter specifies a comma-separated list of video category IDs for the resources that you are retrieving. @opt_param string hl The hl parameter specifies the language that should be used for text values in the API response.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/YouTube.php