Skip to content

parlayapiR 0.1.6

Choose a tag to compare

@JacobiusMakes JacobiusMakes released this 03 Dec 22:44
8c3ce65

The source package now includes help for all 14 exported functions and a package overview. After installation, run ?pa_sports to see how to list sports, ?pa_odds to look up game odds, or ?pa_historical to check how archive dates are interpreted.

Try an example from the installed help in a fresh R session.

install.packages(
  "parlayapiR",
  repos = c(ParlayAPI = "https://jacobiusmakes.github.io/parlayapiR/r",
            CRAN = "https://cloud.r-project.org"),
  type = "source"
)
library(parlayapiR)
example(pa_american_to_decimal)

The example converts three prices locally. For a project that needs account data, check plans and request allowances or create an account for your own API key.