How would you access sports stats?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
slipstream
Forum Commoner
Posts: 86
Joined: Fri Apr 19, 2002 8:53 am
Location: Canada

How would you access sports stats?

Post by slipstream »

If you are creating a website to track sports statistics for players like an online pool. Where would you go and how would you access individual stats for players? Is there a central stat location that gives you access for players?
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: How would you access sports stats?

Post by papa »

I think you have to speak to the leading organisation for that sport.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: How would you access sports stats?

Post by onion2k »

papa wrote:I think you have to speak to the leading organisation for that sport.
And have your chequebook handy. Or checkbook if you're American.
slipstream
Forum Commoner
Posts: 86
Joined: Fri Apr 19, 2002 8:53 am
Location: Canada

Re: How would you access sports stats?

Post by slipstream »

Really?

So even free sites like hockeydb.com pay a lot of money for everyone to use it free? wow..
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: How would you access sports stats?

Post by papa »

slipstream wrote:Really?

So even free sites like hockeydb.com pay a lot of money for everyone to use it free? wow..
No but common sence:
http://hockeydb.com/copyright.html

That site is done by a guy that has it as an interest. But look up the sport you want to do (hockey I guess) and then speak to the admins on those sites you find that is relevant.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: How would you access sports stats?

Post by onion2k »

slipstream wrote:So even free sites like hockeydb.com pay a lot of money for everyone to use it free? wow..
There's 4 possibilities:

1. The stats are available for free from somewhere. It'd be up to you to find where. If they are then it's like there'll be some instructions about how to access them from a language like PHP.

2. They pay for the stats. It's very likely they do. It's a perfectly reasonable business cost, and so long as the cost of the stats is less than the revenue the site makes from adverts/fees it's easy to justify paying.

3. They enter the stats manually. Again, very possible, but very time consuming if you don't have lots of willing volunteers. Also potentially illegal if the stats are copyrighted to a company that runs the sport.

4. They steal the stats. They might be scrapping the HTML of another website, or have found a way to access a data feed they're meant to have paid for. It's a very bad idea in the long term because it is at least copyright infringement and at worst theft.

In fact, that hockeydb.com site tells you where they source the stats from ... http://www.hockeydb.com/credits.html ... it sounds like one guy is putting in a HUGE amount of work collating them all.
Post Reply