Create a new Leanpub book by specifying title and slug, with optional sync modes (Browser, GitHub, or Upload) and branch settings for publishing and previewing.
Poll a Leanpub job's status at regular intervals until it completes or the timeout expires, so you know when to proceed after previewing or publishing.
Retrieve a book's summary with title, word/page counts, sales, and preview or published download URLs. Use this data to assess a book's status and performance.