mfl_getendpoint | R Documentation |
Create a GET request to any MFL export endpoint.
mfl_getendpoint(conn, endpoint, ...)
conn |
the list object created by |
endpoint |
a string defining which endpoint to return from the API |
... |
Arguments which will be passed as "argumentname = argument" in an HTTP query parameter |
This function will read the connection object and automatically pass in the rate-limiting, league ID (L), authentication cookie, and/or API key (APIKEY) if configured in the connection object.
The endpoint names and HTTP parameters (i.e. argument names) are CASE SENSITIVE and should be passed in exactly as displayed on the MFL API reference page.
Check out the vignette for more details and example usage.
A list object containing the query, response, and parsed content.
https://api.myfantasyleague.com/2020/api_info?STATE=details
vignette("mfl_getendpoint")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.