Learn R Programming

leanpubr (version 0.4.0)

lp_sales: Leanpub Sales Information

Description

Leanpub Sales Information

Usage

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, ...)

Value

List of the result of the GET call and the content

Arguments

slug

slug of the project

api_key

API key for Leanpub, passed to lp_api_key

secure

passed to lp_base_url for https

verbose

print diagnostic messages

...

additional options to pass to GET

page

page to extract for sales

result

an object of class `lp_results`, which must have a `response` slot in a list

Examples

Run this code
if (FALSE) {
if (lp_have_api_key()) {
res1 = lp_all_sales(slug = "biostatmethods")
nurl = lp_next_url(res1)
res_next = lp_next(res1)

}
}

Run the code above in your browser using DataLab