| lp_sales | R Documentation | 
Leanpub Sales Information
lp_sales(slug, api_key = NULL, secure = TRUE, verbose = TRUE, ...)
lp_all_sales(
  slug,
  api_key = NULL,
  secure = TRUE,
  verbose = TRUE,
  page = NULL,
  ...
)
lp_next_url(result)
lp_next(result, ...)
| slug | slug of the project | 
| api_key | API key for Leanpub, passed to  | 
| secure | passed to  | 
| verbose | print diagnostic messages | 
| ... | additional options to pass to  | 
| page | page to extract for sales | 
| result | an object of class 'lp_results', which must have a 'response' slot in a list | 
List of the result of the GET call and
the content
See https://leanpub.com/help/api
## Not run: 
if (lp_have_api_key()) {
res1 = lp_all_sales(slug = "biostatmethods")
nurl = lp_next_url(res1)
res_next = lp_next(res1)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.