| toa_sports {oddsapiR} | R Documentation |
Find sports for which odds are accessible through the Odds API
Description
Get the Sports for which the Odds API provides coverage
toa_sports(all_sports=TRUE)
Usage
toa_sports(all_sports = TRUE)
Arguments
all_sports |
(Logical required): If true, returns all sports and if false, returns only active sports. Defaults to true. |
Value
Sports for which The Odds API provides betting information for as a tibble:
| col_name | types |
| key | character |
| group | character |
| title | character |
| description | character |
| active | logical |
| has_outrights | logical |
Examples
try(toa_sports(all_sports = TRUE))
[Package oddsapiR version 0.0.3 Index]