goodreads-bookshelf
Version:
Facade of Goodreads Bookshelf
14 lines (13 loc) • 439 B
TypeScript
import { Book } from './book';
import { Bookshelf } from './bookshelf';
export declare class GoodreadsBookshelf implements Bookshelf {
private _bookshelfBuilder;
private _bookshelf;
constructor(id: string, key: string, version?: number, perPage?: number, page?: number);
getBooks(): Promise<void>;
readBooks(): Book[];
readingBooks(): Book[];
readBooksGroupedByYear(): {
[key: number]: Book[];
};
}