get_props: Get lines and odds on prop bets for popular sports from...

View source: R/get_props.R

get_propsR Documentation

Get lines and odds on prop bets for popular sports from popular betting sites

Description

Get lines and odds on prop bets for popular sports from popular betting sites

Usage

get_props(site, sport, prop, raw_data = NULL, save_path = NULL)

Arguments

site

character book site; support 'fanduel'/'fd', 'draftkings'/'dk', 'pointsbet'/'pb', 'betrivers'/'br', 'barstool'/'bs', 'mgm', 'caesar'/'csr'

sport

character sport, e.g. 'nba'

prop

character name of prop, e.g. 'first team to score'; see details for available props

raw_data

data.frame defaults to NULL, but you can pass your pre-existing data.frame to be parsed

save_path

character path to save jsons, if not NULL

Details

available props include: 'player points alt', 'player points ou', 'player points tiers', 'first team to score', 'first player to score'

Value

data.frame tidy props with tidy columns


jimtheflash/betfinder documentation built on Dec. 6, 2023, 5:58 a.m.