class Activities extends Resource (View source)

The "activities" collection of methods.

Typical usage is:

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

Methods

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

Retrieves a list of resources, possibly filtered. (activities.listActivities)

Details

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

Retrieves a list of resources, possibly filtered. (activities.listActivities)

Parameters

string|array $part

The part parameter specifies a comma-separated list of one or more activity resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in an activity resource, the snippet property contains other properties that identify the type of activity, a display title for the activity, and so forth. If you set part=snippet, the API response will also contain all of those nested properties.

array $optParams

Optional parameters.

Return Value

ActivityListResponse

Exceptions

Exception