class MylibraryReadingpositions extends Resource (View source)

The "readingpositions" collection of methods.

Typical usage is:

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

Methods

get(string $volumeId, array $optParams = [])

Retrieves my reading position information for a volume.

setPosition(string $volumeId, string $position, string $timestamp, array $optParams = [])

Sets my reading position information for a volume.

Details

ReadingPosition get(string $volumeId, array $optParams = [])

Retrieves my reading position information for a volume.

(readingpositions.get)

Parameters

string $volumeId

ID of volume for which to retrieve a reading position.

array $optParams

Optional parameters.

Return Value

ReadingPosition

Exceptions

Exception

BooksEmpty setPosition(string $volumeId, string $position, string $timestamp, array $optParams = [])

Sets my reading position information for a volume.

(readingpositions.setPosition)

Parameters

string $volumeId

ID of volume for which to update the reading position.

string $position

Position string for the new volume reading position.

string $timestamp

RFC 3339 UTC format timestamp associated with this reading position.

array $optParams

Optional parameters.

Return Value

BooksEmpty

Exceptions

Exception