Get: Request get

View source: R/get.R

GetR Documentation

Request get

Description

Request get

Usage

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 July 31, 2023, 5:40 p.m.