Extract PitchFX from MLB.com

/ Published in: PHP
Save to your folder(s)

Open PHP file and enter User Credentials for localhost. The default dates are set to negotiate the 2011 season, but change the date variables to match your desired season data. The start date should be the day before opening day, and the end date the last day of the regular season.

Append ignored attributes to conditional statement on line 81 to match your pitchfx table structure.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.