Description Usage Arguments Details
View source: R/wrapper_utils.R
sets the MySportsFeeds API key into the keyring
1 | msf_set_apikey(apikey)
|
apikey |
the API key |
dfstools
uses the keyring
package
to manage the MySportsFeeds API key. This is portable; it
will work on any platform where 'keyring“ can be
installed, including Linux, MacOS and Windows.
Usage:
Go to the MySportsFeeds Patreon page https://www.patreon.com/mysportsfeeds/posts and become a patron. You'll need to be a patron to use the v2.0 API.
Go to the MySportsFeeds home page https://www.mysportsfeeds.com/ and sign up.
Create a v2.0 API key and copy it to the clipboard. This package does not support the v1.x APIs.
In R, paste the API key in the following:
dfstools::msf_set_apikey("paste API key here")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.