class Bookshelves extends Resource (View source)

The "bookshelves" collection of methods.

Typical usage is:

 $booksService = new Google\Service\Books(...);
 $bookshelves = $booksService->bookshelves;

Methods

get(string $userId, string $shelf, array $optParams = [])

Retrieves metadata for a specific bookshelf for the specified user.

listBookshelves(string $userId, array $optParams = [])

Retrieves a list of public bookshelves for the specified user.

Details

Bookshelf get(string $userId, string $shelf, array $optParams = [])

Retrieves metadata for a specific bookshelf for the specified user.

(bookshelves.get)

Parameters

string $userId

ID of user for whom to retrieve bookshelves.

string $shelf

ID of bookshelf to retrieve.

array $optParams

Optional parameters.

Return Value

Bookshelf

Exceptions

Exception

Bookshelves listBookshelves(string $userId, array $optParams = [])

Retrieves a list of public bookshelves for the specified user.

(bookshelves.listBookshelves)

Parameters

string $userId

ID of user for whom to retrieve bookshelves.

array $optParams

Optional parameters.

Return Value

Bookshelves

Exceptions

Exception