|
Methods defined here:
- __init__(self)
- addVolume = method(self, **kwargs)
- Adds a volume to a bookshelf.
Args:
body: object, The request body. (required)
source: string, String to identify the originator of this request.
country: string, ISO-3166-1 code to override the IP-based location.
volumeId: string, Id of volume to add. (required)
shelf: string, Id of bookshelf to which to add a volume. (required)
- clearVolumes = method(self, **kwargs)
- Clears all volumes from a bookshelf.
Args:
body: object, The request body. (required)
source: string, String to identify the originator of this request.
country: string, ISO-3166-1 code to override the IP-based location.
shelf: string, Id of bookshelf from which to remove a volume. (required)
- get = method(self, **kwargs)
- Retrieves a specific bookshelf belonging to the authenticated user.
Args:
source: string, String to identify the originator of this request.
shelf: string, Id of bookshelf to retrieve. (required)
country: string, ISO-3166-1 code to override the IP-based location.
Returns:
An object of the form
{
"kind": "books#bookshelf", # Resource type for bookshelf metadata.
"description": "A String", # Description of this bookshelf.
"created": "A String", # Created time for this bookshelf (formatted UTC timestamp with millisecond resolution).
"volumeCount": 42, # Number of volumes in this bookshelf.
"title": "A String", # Title of this bookshelf.
"updated": "A String", # Last modified time of this bookshelf (formatted UTC timestamp with millisecond resolution).
"access": "A String", # Whether this bookshelf is PUBLIC or PRIVATE.
"volumesLastUpdated": "A String", # Last time a volume was added or removed from this bookshelf (formatted UTC timestamp with millisecond resolution).
"id": 42, # Id of this bookshelf, only unique by user.
"selfLink": "A String", # URL to this resource.
}
- list = method(self, **kwargs)
- Retrieves a list of bookshelves belonging to the authenticated user.
Args:
country: string, ISO-3166-1 code to override the IP-based location.
source: string, String to identify the originator of this request.
Returns:
An object of the form
{
"items": [ # A list of bookshelves.
{
"kind": "books#bookshelf", # Resource type for bookshelf metadata.
"description": "A String", # Description of this bookshelf.
"created": "A String", # Created time for this bookshelf (formatted UTC timestamp with millisecond resolution).
"volumeCount": 42, # Number of volumes in this bookshelf.
"title": "A String", # Title of this bookshelf.
"updated": "A String", # Last modified time of this bookshelf (formatted UTC timestamp with millisecond resolution).
"access": "A String", # Whether this bookshelf is PUBLIC or PRIVATE.
"volumesLastUpdated": "A String", # Last time a volume was added or removed from this bookshelf (formatted UTC timestamp with millisecond resolution).
"id": 42, # Id of this bookshelf, only unique by user.
"selfLink": "A String", # URL to this resource.
},
],
"kind": "books#bookshelves", # Resource type.
}
- removeVolume = method(self, **kwargs)
- Removes a volume from a bookshelf.
Args:
body: object, The request body. (required)
source: string, String to identify the originator of this request.
country: string, ISO-3166-1 code to override the IP-based location.
volumeId: string, Id of volume to remove. (required)
shelf: string, Id of bookshelf from which to remove a volume. (required)
- volumes = methodResource(self)
- A collection resource.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|