View source: R/utils_wnba_stats.R
| request_with_proxy | R Documentation |
This is a thin wrapper on httr2::req_retry() via the internal
.retry_request() helper. It applies the WNBA Stats API headers (origin,
referer, x-nba-stats-* tokens) and decodes the JSON response.
request_with_proxy(
url,
params = list(),
origin = "https://stats.wnba.com",
referer = "https://www.wnba.com/",
proxy = NULL,
...
)
url |
Request url |
params |
list of params |
origin |
Origin url |
referer |
Referer url |
proxy |
Optional proxy config. |
... |
currently unused (preserved for backwards compatibility). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.