sportsdataverse/cfbfastR

Can't load betting lines

TJLSmith0831 opened this issue · 1 comments

Describe the bug
Using cfbfastR v1.6.4, I can't load in any betting lines data. It might be that I have a deprecated version, but I have not been able to update by any means.

To Reproduce
cfbd_betting_lines(year = 2020)
2022-04-09 11:41:21: Invalid arguments or no betting lines data available!

Expected behavior
Betting lines from 2020 should be loaded

This works for me using cfbfastR v1.6.4 (the non-CRAN development versions aren't any different as the function is virtually unchanged). Is this the only function that isn't working to access the API?

> cfbfastR::cfbd_betting_lines(year = 2020)
     game_id season season_type week               start_date            home_team   home_conference home_score         away_team
1  401234568   2020     regular    3 2020-09-19T19:30:00.000Z         Georgia Tech               ACC         21               UCF
2  401234568   2020     regular    3 2020-09-19T19:30:00.000Z         Georgia Tech               ACC         21               UCF
3  401234568   2020     regular    3 2020-09-19T19:30:00.000Z         Georgia Tech               ACC         21               UCF
4  401234568   2020     regular    3 2020-09-19T19:30:00.000Z         Georgia Tech               ACC         21               UCF
5  401234568   2020     regular    3 2020-09-19T19:30:00.000Z         Georgia Tech               ACC         21               UCF
6  401234567   2020     regular    3 2020-09-19T16:00:00.000Z                 Duke               ACC          6    Boston College
7  401234567   2020     regular    3 2020-09-19T16:00:00.000Z                 Duke               ACC          6    Boston College
8  401234567   2020     regular    3 2020-09-19T16:00:00.000Z                 Duke               ACC          6    Boston College
9  401234567   2020     regular    3 2020-09-19T16:00:00.000Z                 Duke               ACC          6    Boston College
10 401234567   2020     regular    3 2020-09-19T16:00:00.000Z                 Duke               ACC          6    Boston College
...