Create Draft Kings Request Object
Usage
dk_req(
proxy_args = NULL,
curl_options = NULL,
throttle_rate = NULL,
headers = NULL,
paths = NULL,
query_params = NULL,
retry_options = NULL,
error_handling_options = NULL,
base_url = "https://api.draftkings.com/",
method = "GET"
)
Arguments
- proxy_args
List of arguments to httr2::req_proxy
- curl_options
List of arguments to httr2::req_options
- throttle_rate
List of arguments to httr2::req_throttle
- headers
List of arguments to
httr2::req_headers()
- paths
List of arguments to
httr2::req_url_path_append()
- query_params
A list of query parameters passed to
[httr2::req_url_query]
.- retry_options
List of arguments passed to
httr2::req_retry()
- error_handling_options
List of arguments to
httr2::req_error()
- base_url
Base URL for request.
- method
Custom HTTP method