msf_set_apikey: Set MySportsFeeds API key

Description Usage Arguments Details

View source: R/wrapper_utils.R

Description

sets the MySportsFeeds API key into the keyring

Usage

1

Arguments

apikey

the API key

Details

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:

  1. 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.

  2. Go to the MySportsFeeds home page https://www.mysportsfeeds.com/ and sign up.

  3. Create a v2.0 API key and copy it to the clipboard. This package does not support the v1.x APIs.

  4. In R, paste the API key in the following:

    dfstools::msf_set_apikey("paste API key here")
    

znmeb/dfstools documentation built on March 3, 2020, 5:50 p.m.