Goodreads Developers discussion

43 views
questions > how do I use search[field] as a parameter? (new to development)

Comments Showing 1-2 of 2 (2 new)    post a comment »
dateDown arrow    newest »

message 1: by Claire (new)

Claire | 2 comments Hello! My team is trying to use the search.books method to find titles by a searched author. We'd like to make use of the search[field] parameter in our Axios request but the docs are not clear on how to use it.

We can't simply use search[field]: "author" in params. I assume we have to add it to the URL and encode the square brackets, but I'm not sure how. Would I also still include it as a param?

Thankyou!!


message 2: by Claire (last edited Dec 09, 2018 11:01AM) (new)

Claire | 2 comments update: I changed the url from this:

https://www.goodreads.com/search/inde...

to this:

https://www.goodreads.com/search?q=${...

and it appears to be working.

I'd love for the docs to be updated with how to use those params :-)


back to top