lp_preview: Leanpub Preview

View source: R/lp_preview.R

lp_previewR Documentation

Leanpub Preview

Description

Leanpub Preview

Usage

lp_preview(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

## Not run: 
if (lp_have_api_key()) {
slug = "neuroimagingforstatisticians"
res = lp_preview(slug, nonstop = FALSE, error = FALSE)
}

## End(Not run)

muschellij2/leanpubr documentation built on June 13, 2025, 8:58 p.m.