limiting query to search API from openlibrary.com

Viewed 31

I am learning JS, and I am struggeling with this API request. The search API from Openlibrary returns an array of ISBNs, about 400 per book and its slowing down the response time. How can I structure the request so I only get the first result?

This is what I tried:

axios.get(`http://openlibrary.org/search.json?title=${query}
    &limit=100
    &fields=isbn[0]`)

Searching for 0 index isn't working and their schema at https://github.com/internetarchive/openlibrary/blob/master/conf/solr/conf/managed-schema#L136-L216 didnt help too much either.

0 Answers
Related