Repository navigation
R client 0.1.2
Start with the fictional NBA board using the short league name.
install.packages(
"parlayapiR",
repos = c("https://jacobiusmakes.github.io/parlayapiR/r", "https://cloud.r-project.org"),
type = "source"
)
events <- parlayapiR::pa_odds("nba", markets = "h2h", sandbox = TRUE)
events[, c("id", "home_team", "away_team")]The short name also works with scores, props and historical requests. Historical data requires an account with access to the requested records. The full mma key keeps its existing meaning. See the package reference.
When the sandbox returns what you need, get an API key for a live request.