api_config: Curl settings

Description Usage Arguments See Also Examples

View source: R/config.R

Description

Curl settings

Usage

1
api_config(.data, ...)

Arguments

.data

Result of a call to api

...

Comma separated list of unquoted variable names

See Also

Other dsl: api_body(), api_error_handler(), api_path(), api_query(), api_template(), api(), auth

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# Config handler
api('http://api.crossref.org/works') %>%
 api_config(verbose(), progress()) %>%
 peep()

xx <- api('http://api.crossref.org') %>%
  api_path(works, 10.3897/zookeys.515.9459) %>%
  api_config(verbose())

## End(Not run)

sckott/request documentation built on June 22, 2020, 4:50 a.m.