Leanpub API Update

published Sep 10, 2015

We’ve added page count to the books endpoint for the Leanpub API. Authors of the book get ​page_count_published​ (the page count of the last published version) and ​page_count​ (the page count of the last published or previewed version). Anyone who is not an author of the book gets ​page_count_published​, but only if the author has chosen to display the page count to readers.

The same change was made for word_count and word_count_published.

Finally, we now show the total number of readers of a book to non-authors (as total_copies_sold) if the author has chosen to share this information.

You can find more detailed information in our API documenatation.

– Posted by Len Epp

blog comments powered by


Originally published at leanpub.com.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.