Description Usage Arguments Value Note Examples
Leanpub Download Latest Version
1 2 |
slug |
slug of the project |
format |
format of the book to download |
api_key |
API key for Leanpub, passed to |
secure |
passed to |
verbose |
print diagnostic messages |
... |
additional options to pass to |
List of the result of the GET
call and
the content
See https://leanpub.com/help/api
1 2 3 4 5 6 | if (lp_have_api_key()) {
slug = "biostatmethods"
res = lp_download(slug, verbose = FALSE, nonstop = TRUE, error = FALSE,
format = "mobi")
file.exists(res)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.