toa_sports: *Find sports for which odds are accessible through the Odds...

View source: R/toa_sports.R

toa_sportsR 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))



oddsapiR documentation built on March 31, 2023, 5:27 p.m.