Add attachments, more pages
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler
2020-12-26 19:34:07 -05:00
parent d086b29bcc
commit a1ac81a73a
29 changed files with 2349 additions and 17899 deletions

View File

@ -22,9 +22,10 @@ class GoogleBooks implements BookLookupService {
*/
$volume = Arr::first($results->getItems())->getVolumeInfo();
return [
return (object) [
'title' => $volume->getTitle(),
'authors' => $volume->getAuthors()
'authors' => $volume->getAuthors(),
'images' => $volume->getImageLinks(),
];
}
}