Get: Request get

Description Usage Arguments Value

View source: R/get.R

Description

Request get

Usage

1
Get(url = NULL, auth = NULL, parse_json = NULL, parse_html = FALSE, ...)

Arguments

url

a url

auth

a list of authentication variables list(username = "user", password = "pwd") or NULL - default

...

Other parameters passable to the get verb. Including

  • cookies: dictionary or list of cookies

  • headers: dictionary or list of headers

  • params: tuple or list of parameters

  • timeout: vector of timeout

  • data: list of data parameters

  • proxy: list or dictionary of proxy settings

parse_to_json

if not NULL returns JSON, to return parsed JSON if possible, list(is_tibble = TRUE)

parse_to_html

if true

Value

request module, json or HTML depending on input


abresler/requestsR documentation built on March 26, 2021, 9:21 a.m.