query: Make an API request with retries

Description Usage Arguments Value

View source: R/utils.R

Description

Make an API request with retries

Usage

1
2
3
query(base, path, method = c("GET", "POST", "PUT", "DELETE"),
  params = list(), body = NULL, config = config(), retry = method
  == "GET", retries = 0)

Arguments

base

URL

path

string

method

HTTP request method

params

URL parameters provided as a list

body

body of the request

config

httr::config

retry

allow retrying the query on failure

retries

internal counter of previous retries

Value

raw object returned by httr


johnatasjmo/binanceusr documentation built on June 14, 2020, 12:15 a.m.