Site
Home / Forum / General Discussion / College Football API

College Football API


Posted: 05 Dec 2020 16:43
jrhessey
Posts: 2
Joined: 2020-09-13

I'm not sure where this goes, but I stumbled upon an API for college football that may make it easy to import scores from each week

https://api.collegefootballdata.com/api/docs/?url=/api-docs.json#/games/getGames

https://api.collegefootballdata.com/games?year=2020&seasonType=regular
gives you the full season

https://api.collegefootballdata.com/games?year=2020&week=1&seasonType=regular
gives you the week by week scores/schedule.

Not sure how you'd want to handle the postponements/cancellations. They are recorded on this site, so if you imported the game before it was cancelled, it would just be blank.

Maybe you could code in if not exists the postponed = true.

Posted: 06 Dec 2020 22:58

zag
Posts: 3,327
Joined: 2020-03-23

Yeh i've been avoiding college football and basketball for a while due to all the changes but I guess its time to bring it back in.

I have a good source already, just needs importing I think. I will take a look this week.

Posted: 30 Dec 2020 20:04

zag
Posts: 3,327
Joined: 2020-03-23

NCAA basketball is now imported.


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 3 (Total: 3)