Jump to content

Not sure what to do.


benthomasg1

Recommended Posts

I have a sports site, but I would like the site to be able to go out to another website (like ESPN) and get the scores from football games so I can do the math on the scores to see who one and then save the winner. What I need help with is what I need to do to be able to go out to ESPN to get these values? Like I don't even know where to start?

Link to comment
https://forums.phpfreaks.com/topic/215367-not-sure-what-to-do/
Share on other sites

you want to scrape the ESPN site for scores. assuming they don't provide an XML feed that you could download, you'll have to write code to download web pages and parse the files. i suggest looking for info/tutorials on PHP scrapers, but this isn't a task for a new programmer. here is one article:

 

http://vision-media.ca/resources/php/create-a-php-web-crawler-or-scraper-5-minutes

Link to comment
https://forums.phpfreaks.com/topic/215367-not-sure-what-to-do/#findComment-1119949
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.