fetch_request: fetch_request

Description Usage Arguments Details Value

View source: R/requests.R

Description

fetch's from one of bpl's read-only list views using GET and returns 1:n records as a dataframe or raises an http_error

Usage

1
fetch_request(endpoint_url, query_params = NULL, use_full_endpoint = F)

Arguments

endpoint_url

the api endpoint excluding the base

query_params

filters to use for querying data

use_full_endpoint

when set to true uses this as the full url

Details

TODO create a paginating endpoint similar to this for large responses

Value

parsed contents from the fetch request


cunybpl/bplclientR documentation built on July 9, 2019, 6 p.m.