lp_book_info: Leanpub Book Information

Description Usage Arguments Value Note Examples

View source: R/lp_book.R

Description

Leanpub Book Information

Usage

1
2
3
4
lp_book_info(slug, api_key = NULL, secure = TRUE, verbose = TRUE,
  ...)

lp_summary(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
if (lp_have_api_key()) {
stat = lp_book_info(slug = "modernscientist")
}

leanpubr documentation built on May 1, 2019, 8:05 p.m.