sleeper_getendpoint: GET any Sleeper endpoint

View source: R/sleeper_api.R

sleeper_getendpointR Documentation

GET any Sleeper endpoint

Description

The endpoint names and HTTP parameters (i.e. argument names) are CASE SENSITIVE and should be passed in exactly as displayed on the Sleeper API reference page.

Usage

sleeper_getendpoint(endpoint, ...)

Arguments

endpoint

a string defining which endpoint to return from the API

...

Arguments which will be passed as "argumentname = argument" in an HTTP query parameter

Details

Check out the vignette for more details and example usage.

Value

A list object containing the query, response, and parsed content.

See Also

https://docs.sleeper.com

vignette("sleeper_getendpoint")


ffscrapr documentation built on Feb. 16, 2023, 10:55 p.m.