JGoogleDataPlusActivities::listActivities
List all of the activities in the specified collection for a particular user.
Signature
public function listActivities(string
$userId,
[string
$collection = null,
[string
$fields = null,
[integer
$max = 10,
[string
$token = null,
[string
$alt = null]]]]] )
Parameters
-
$userId
- The ID of the user to get activities for. The special value "me" can be used to indicate the authenticated user.
-
$collection
- The collection of activities to list. Acceptable values are: "public".
-
$fields
- Used to specify the fields you want returned.
-
$max
- The maximum number of people to include in the response, used for paging.
-
$token
- The continuation token, used to page through large result sets. To get the next page of results, set this
-
$alt
- Specifies an alternative representation type. Acceptable values are: "json" - Use JSON format (default)
Returns
- mixed
- Data from Google