Learn R Programming

leanpubr (version 0.4.0)

lp_quiz_responses: Leanpub Quiz Responses for a Course

Description

Leanpub Quiz Responses for a Course

Usage

lp_quiz_responses(
  slug,
  anonymized_id = NULL,
  body = list(),
  api_key = NULL,
  secure = TRUE,
  verbose = TRUE,
  query = list(),
  ...
)

Value

List of the result of the POST call and the content

Arguments

slug

slug of the project

anonymized_id

Anonymized ID for a single user. For a single user's CSV, you will get the JSON response immediately.

body

body sent to POST

api_key

API key for Leanpub, passed to lp_api_key

secure

passed to lp_base_url for https

verbose

print diagnostic messages

query

query information to send to POST

...

additional options to pass to GET

Examples

Run this code
if (FALSE) {
if (lp_have_api_key()) {
slug = "muschellitestcourse"
res = lp_quiz_responses(slug, error = FALSE, verbose = 2)
}
}

Run the code above in your browser using DataLab