lp_publish: Leanpub Publish

Description Usage Arguments Value Note Examples

View source: R/lp_publish.R

Description

Leanpub Publish

Usage

1
lp_publish(slug, api_key = NULL, secure = TRUE, verbose = TRUE, ...)

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

Value

List of the result of the GET call and the content

Note

See https://leanpub.com/help/api

Examples

1
2
3
4
if (lp_have_api_key()) {
slug = "neuroimagingforstatisticians"
res = lp_publish(slug, nonstop = TRUE, error = FALSE)
}

leanpubr documentation built on Aug. 16, 2018, 5:03 p.m.