api_path: API paths

Description Usage Arguments See Also Examples

View source: R/api_path.R

Description

API paths

Usage

1
2
3
api_path(.data, ..., .dots)

api_path_(.data, ..., .dots)

Arguments

.data

Result of a call to api

...

Comma separated list of unquoted variable names

.dots

Used to work around non-standard evaluation

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# set paths
## NSE
api('https://api.github.com/') %>%
  api_path(repos, ropensci, rgbif, issues)
## SE
api('https://api.github.com/') %>%
  api_path_('repos', 'ropensci', 'rgbif', 'issues')

## End(Not run)

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