Fetches player props as a flat data frame of paired over/under
quotes: one row per bookmaker, player, and market, with line,
over_price, under_price, and implied probabilities. This is a
ParlayAPI extension endpoint (The Odds API has no flat-props shape).
Usage
pa_props(
sport,
markets = NULL,
bookmakers = NULL,
player = NULL,
event_id = NULL,
odds_format = c("american", "decimal"),
limit = NULL,
offset = NULL,
sandbox = NULL
)Arguments
- sport
A sport key such as
"basketball_nba"or a short league name such as"nba","nfl","nhl"or"epl". Seepa_sports().- markets
Optional prop market keys, e.g.
"player_points,player_rebounds".- bookmakers
Optional bookmaker keys to filter to.
- player
Optional player name filter (live mode only).
- event_id
Optional event id filter (live mode only).
- odds_format
"decimal"or"american".- limit, offset
Pagination controls (live mode only).
- sandbox
Logical or
NULL.TRUEuses the keyless sandbox endpoint,FALSEthe live endpoint,NULL(default) defers to the globalpa_sandbox()toggle.