Questions tagged [google-books-api]

For questions regarding interacting with the API provided by Google to interact with information within the Google Books system, including retrieving book information, and managing Google users' Google Books content.

72 questions
1
vote
0 answers

How to retrieve an url to a book cover only knowing its isbn

is there a way to obtain an URL to a cover of a book when only knowing the book's API? I have tried two approaches yet. First, https://openlibrary.org/dev/docs/api/covers which does not work for me since they did not find any covers for the…
Lasking
  • 11
  • 1
  • 4
1
vote
1 answer

How can I interpret my JSON via Google Books API URL and display it on my HTML page using JS?

So, I am trying to pull the volume info from the JSON array from the URL provided: https://www.googleapis.com/books/v1/volumes?q=HTML5 Trying to pull author, title, images, page numbers and description. This specific class of my HTML code I want to…
1
vote
0 answers

Google Books Api gives wrong results in search

When I search for something like if let url = URL(string: "https://www.googleapis.com/books/v1/volumes?q=regretting+you") On my browser I get the correct results: But my debug console gives me these results It looks like its searching the search…
Jordan
  • 127
  • 1
  • 1
  • 9
1
vote
2 answers

Google Books API not returning the same as displayed on browser (Flutter)

I am building a book app with Flutter for Android and iOS. I am using Google Books API to retrieve book data, but I have noticed something strange which I dont understand. If we look at the book data displayed in chrome browser…
Lulek
  • 21
  • 3
1
vote
2 answers

How to get higher res image from Google Books Api?

When I try to get a higher resolution image from the google books API it only gives me the small thumbnail size that is 128 X 209 and I can't get a larger image This is my url: if let url = URL(string:…
Jordan
  • 127
  • 1
  • 1
  • 9
1
vote
2 answers

Displaying State of an Async Api call in SwiftUI

This question builds on my previous question. Basically Im making an async call to the Google Books Api when a certain button is pressed. While I got the call working when its a method of the View however I want to overlay an activity indicator…
Arnav Motwani
  • 707
  • 7
  • 26
1
vote
1 answer

No value associated with key CodingKeys error

I'm trying to retrieve json from the google books api Here are my structs: struct Book: Codable { let volumeInfo: VolumeInfo } struct VolumeInfo: Codable { let title: String let authors: [String] let publisher, publishedDate,…
Jordan
  • 127
  • 1
  • 1
  • 9
1
vote
0 answers

Django google books API totalItems is changing

I am creating an application that retrieves data from the google books API. At the very beginning I download a number of books from JSON ["totalItems"] and iterate through the for loop, calling the API in order to get another 40 items. The problem…
1
vote
0 answers

langRestrict=en doesn't return any values anymore

I used to use queries like this when…
Metroids
  • 18,999
  • 4
  • 41
  • 52
1
vote
1 answer

Unexpected return from JSON lookup when using request.form.get

I found some questions similar to mine but I couldn't solve this problem. I'm trying to perform a search via the Google Books API, but I can't get what the user types.
Adão Gama
  • 122
  • 1
  • 13
1
vote
3 answers

How to consume JSON data and ignore repeated values?

I'm consuming a Google Books API to display results from a simple book search. However, when performing the search, some items return repeated. See: book-search To GET this data and display in HTML, I am doing this: var result =…
Adão Gama
  • 122
  • 1
  • 13
1
vote
1 answer

How to return a search result with multiple books using the Google Books API?

I'm consuming a Google Books API and I'm trying to return a search result with multiple books. Here's what I'm doing: def lookup(search): """Look up search for books.""" # Contact API try: url =…
ARNON
  • 1,097
  • 1
  • 15
  • 33
1
vote
1 answer

Making api requests on an array of objects using async/await and Promise.all()

I'm creating a simple book search app, I make an initial api request to get an array of book objects, then I need to make an api request on each individual book to get the dimensions. When I console.log the initial array of books the book objects…
1
vote
1 answer

How to fetch only certain values from a complex JSON (Google Books API) in Swfit

I've been trying to develop an app which fetches certain information of a book from Google Books API (name, author and image) and display the image inside a collection view var bookInfo = [Book]() let urlString =…
0
votes
1 answer

Google Books API erroneously incrementing totalItems returned

I am working on an asp.net application that uses the Google Books API. I am using the API to return a list of books based on a search query. public async Task SearchBooks(string query, int startIndex = 0, int maxResults =…
Corey Sutton
  • 767
  • 5
  • 19