|
Methods defined here:
- __init__(self)
- get = method(self, **kwargs)
- Retrieves a badge from a user.
Args:
badgeId: string, The ID of the badge that will be retrieved. (required)
userId: string, The ID of the user whose badges will be listed. Can be me to refer to caller. (required)
Returns:
An object of the form
{
"badgeSmallLogo": "A String", # The URL for the 24x24 badge logo.
"kind": "orkut#badge", # Identifies this resource as a badge. Value: "orkut#badge"
"description": "A String", # The description for the badge, suitable for display.
"sponsorLogo": "A String", # The URL for the 32x32 badge sponsor logo.
"sponsorName": "A String", # The name of the badge sponsor, suitable for display.
"badgeLargeLogo": "A String", # The URL for the 64x64 badge logo.
"caption": "A String", # The name of the badge, suitable for display.
"sponsorUrl": "A String", # The URL for the badge sponsor.
"id": "A String", # The unique ID for the badge.
}
- list = method(self, **kwargs)
- Retrieves the list of visible badges of a user.
Args:
userId: string, The id of the user whose badges will be listed. Can be me to refer to caller. (required)
Returns:
An object of the form
{
"items": [ # List of badges retrieved.
{
"badgeSmallLogo": "A String", # The URL for the 24x24 badge logo.
"kind": "orkut#badge", # Identifies this resource as a badge. Value: "orkut#badge"
"description": "A String", # The description for the badge, suitable for display.
"sponsorLogo": "A String", # The URL for the 32x32 badge sponsor logo.
"sponsorName": "A String", # The name of the badge sponsor, suitable for display.
"badgeLargeLogo": "A String", # The URL for the 64x64 badge logo.
"caption": "A String", # The name of the badge, suitable for display.
"sponsorUrl": "A String", # The URL for the badge sponsor.
"id": "A String", # The unique ID for the badge.
},
],
"kind": "orkut#badgeList", # Identifies this resource as a collection of badges. Value: "orkut#badgeList"
}
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|