Replies: 4 comments 3 replies
|
You can specify any number of fields to be returned by search. See https://openlibrary.org/dev/docs/api/search |
1 reply
|
There's no such field as |
1 reply
|
Works don't have subtitles. Only editions do. Usually the work title will
be just the main portion of the title, but sometimes you'll see it
containing "<title>: <subtitle>", depending on the data source. The edition
title won't necessarily match the work title for things like translations,
etc.
You SHOULD be able to get the edition subtitle using
fields=editions,editions.subtitle, BUT it looks like fetching of editions
fields is broken since the examples on the API doc page return empty fields
sub documents.
I'd suggest filing a bug report.
… Message ID:
<internetarchive/openlibrary/repo-discussions/13199/comments/17757963@
github.com>
|
1 reply
Answer selected by
Libertie
|
I'm glad you found a workaround, but it still sounds like a bug to me,
particularly since the examples in the docs don't work.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to obtain
full_title(ortitleplussubtitle) andauthor_namein a single API call? Currently I have to do two calls and merge the results.For example, https://openlibrary.org/isbn/9781571311498.json shows
title,subtitle, andfull_titleand https://openlibrary.org/search.json?isbn=9781571311498 showsauthor_names. I want both, so I'm making two API calls that seem otherwise redundant.I'd love any advice!
All reactions