|
Methods defined here:
- __init__(self)
- count = method(self, **kwargs)
- Get a count of link shares
Args:
url: string, URLs for which to get share counts. (repeated)
hl: string, Language code to limit language results.
- delete = method(self, **kwargs)
- Delete an activity
Args:
userId: string, ID of the user whose post to delete. (required)
hl: string, Language code to limit language results.
scope: string, The collection to which the activity belongs. (required)
Allowed values
@liked - Activities liked by the user.
@muted - Activities muted by the user.
@self - Activities posted by the user.
alt: string, Specifies an alternative representation type.
Allowed values
atom - Use Atom XML format
json - Use JSON format
postId: string, ID of the activity to delete. (required)
- extractPeopleFromSearch = method(self, **kwargs)
- Search for people by topic
Args:
c: string, A continuation token that allows pagination.
lat: string, Latitude to use in a geographic location query.
lon: string, Longitude to use in a geographic location query.
pid: string, ID of a place to use in a geographic location query.
q: string, Full-text search query string.
max_results: integer, Maximum number of results to include.
radius: string, Radius to use in a geographic location query.
bbox: string, Bounding box to use in a geographic location query.
hl: string, Language code to limit language results.
alt: string, Specifies an alternative representation type.
Allowed values
atom - Use Atom XML format
json - Use JSON format
- get = method(self, **kwargs)
- Get an activity
Args:
postId: string, ID of the post to get. (required)
truncateAtom: boolean, Truncate the value of the atom:content element.
userId: string, ID of the user whose post to get. (required)
hl: string, Language code to limit language results.
alt: string, Specifies an alternative representation type.
Allowed values
atom - Use Atom XML format
json - Use JSON format
max_comments: integer, Maximum number of comments to include.
max_liked: integer, Maximum number of likes to include.
- insert = method(self, **kwargs)
- Create a new activity
Args:
body: object, The request body.
media_body: string, The filename of the media request body.
userId: string, ID of the user being referenced. (required)
hl: string, Language code to limit language results.
alt: string, Specifies an alternative representation type.
Allowed values
atom - Use Atom XML format
json - Use JSON format
preview: boolean, If true, only preview the action.
- list = method(self, **kwargs)
- List activities
Args:
c: string, A continuation token that allows pagination.
truncateAtom: boolean, Truncate the value of the atom:content element.
userId: string, ID of the user being referenced. (required)
max_results: integer, Maximum number of results to include.
hl: string, Language code to limit language results.
scope: string, The collection of activities to list. (required)
Allowed values
@comments - Limit to activities commented on by the user.
@consumption - Limit to activities to be consumed by the user.
@liked - Limit to activities liked by the user.
@public - Limit to public activities posted by the user.
@self - Limit to activities posted by the user.
alt: string, Specifies an alternative representation type.
Allowed values
atom - Use Atom XML format
json - Use JSON format
max_comments: integer, Maximum number of comments to include.
max_liked: integer, Maximum number of likes to include.
- list_next = methodNext(self, previous)
- Retrieve the next page of results.
Takes a single argument, 'body', which is the results
from the last call, and returns the next set of items
in the collection.
Returns:
None if there are no more items in the collection.
- patch = method(self, **kwargs)
- Update an activity. This method supports patch semantics.
Args:
body: object, The request body. (required)
userId: string, ID of the user whose post to update. (required)
abuseType: string, A parameter
hl: string, Language code to limit language results.
scope: string, The collection to which the activity belongs. (required)
Allowed values
@abuse - Activities reported by the user.
@liked - Activities liked by the user.
@muted - Activities muted by the user.
@self - Activities posted by the user.
alt: string, Specifies an alternative representation type.
Allowed values
atom - Use Atom XML format
json - Use JSON format
postId: string, ID of the activity to update. (required)
- search = method(self, **kwargs)
- Search for activities
Args:
c: string, A continuation token that allows pagination.
lat: string, Latitude to use in a geographic location query.
lon: string, Longitude to use in a geographic location query.
pid: string, ID of a place to use in a geographic location query.
q: string, Full-text search query string.
truncateAtom: boolean, Truncate the value of the atom:content element.
max_results: integer, Maximum number of results to include.
radius: string, Radius to use in a geographic location query.
bbox: string, Bounding box to use in a geographic location query.
hl: string, Language code to limit language results.
alt: string, Specifies an alternative representation type.
Allowed values
atom - Use Atom XML format
json - Use JSON format
- search_next = methodNext(self, previous)
- Retrieve the next page of results.
Takes a single argument, 'body', which is the results
from the last call, and returns the next set of items
in the collection.
Returns:
None if there are no more items in the collection.
- track = method(self, **kwargs)
- Get real-time activity tracking information
Args:
c: string, A continuation token that allows pagination.
lat: string, Latitude to use in a geographic location query.
lon: string, Longitude to use in a geographic location query.
pid: string, ID of a place to use in a geographic location query.
q: string, Full-text search query string.
max_results: integer, Maximum number of results to include.
radius: string, Radius to use in a geographic location query.
bbox: string, Bounding box to use in a geographic location query.
hl: string, Language code to limit language results.
alt: string, Specifies an alternative representation type.
Allowed values
atom - Use Atom XML format
json - Use JSON format
- update = method(self, **kwargs)
- Update an activity
Args:
body: object, The request body. (required)
userId: string, ID of the user whose post to update. (required)
abuseType: string, A parameter
hl: string, Language code to limit language results.
scope: string, The collection to which the activity belongs. (required)
Allowed values
@abuse - Activities reported by the user.
@liked - Activities liked by the user.
@muted - Activities muted by the user.
@self - Activities posted by the user.
alt: string, Specifies an alternative representation type.
Allowed values
atom - Use Atom XML format
json - Use JSON format
postId: string, ID of the activity to update. (required)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|