Goodreads Developers discussion
questions
>
How to determine which works are "primary" in a series?
date
newest »
newest »
message 1:
by
Jake
(new)
Feb 14, 2016 12:33PM
On an API call like https://www.goodreads.com/series/1104..., the "series" entry has a key "primary_work_count" with a value of 3. This agrees with my intuition that books 1,2,3 are the main books. However, there are 10 books in that response. How can I tell programatically which books are "primary works"?
reply
|
flag
Interesting also that the actual goodreads page lists five works under "Publication Order (primary work):" (Also in the work's description tag.)You might be able to find out with the work.editions method, but I don't have the (special) access to retrieve those pages, and the example given in the API documentation leads to a non-existent entry, so I don't know. Do other series have similar discrepancies between the primary_work_count tag and the info in the description?
Hi Jake and Serval, The API does not include that information so far and we will try to add it sometime in the future.
Thank you!



