Gameday 2007 links
Since everyone seems to be wanting the 2007 version of gameday I wanted to give you to tools to "build your own" links for every game.
Today's game should be the following:
http://mlb.mlb.com/mlb/gameday/y2007/gd.html?2008_04_03_colmlb_slnmlb_1&brand=mlb
If you look at this link you will see 2 key elements, first is the date, second is the teams. To make a working link you must change those fields to match the game you want.
Team Names are an oddity as well. Notice we are not stl but are in fact sln (st louis national league). For cities with two teams you usually find the use of A and N (NYA and NYN I beleive are the Yanks and Mets).
If you find an odd name please post it.
Teams I know for sure are:
mil=Brewers
chn=Cubs
cin=Reds
pit=Pirates
hou=Astros
col=Rockies
1 recs |
3
comments
Comments
Team names
They use the retrosheet standard. Here's a little (broken due to converted whitespace) python code that was part of the script I used for making the spring training linksall the MLB teamcodes are in there.
If I had a public webserver with CGI, I'd set something up to auto-generate these links. Alas.
def team_code(name):
# Input: Team Name per ESPN standards
# Output: six character team code
if name == 'LA Angels':
return 'anamlb'
elif name == 'Baltimore':
return 'balmlb'
elif name == 'Boston':
return 'bosmlb'
elif name == 'Chicago Sox':
return 'chamlb'
elif name == 'Cleveland':
return 'clemlb'
elif name == 'Detroit':
return 'detmlb'
elif name == 'Kansas City':
return 'kcamlb'
elif name == 'Minnesota':
return 'minmlb'
elif name == 'NY Yankees':
return 'nyamlb'
elif name == 'Oakland':
return 'oakmlb'
elif name =='Seattle':
return 'seamlb'
elif name == 'Tampa Bay':
return 'tbamlb'
elif name == 'Texas':
return 'texmlb'
elif name == 'Toronto':
return 'tormlb'
elif name == 'Arizona':
return 'arimlb'
elif name == 'Atlanta':
return 'atlmlb'
elif name == 'Chicago Cubs':
return 'chnmlb'
elif name == 'Cincinnati':
return 'cinmlb'
elif name == 'Colorado':
return 'colmlb'
elif name == 'Florida':
return 'flomlb'
elif name == 'Houston':
return 'houmlb'
elif name == 'LA Dodgers':
return 'lanmlb'
elif name == 'Milwaukee':
return 'milmlb'
elif name == 'NY Mets':
return 'nynmlb'
elif name == 'Philadelphia':
return 'phimlb'
elif name == 'Pittsburgh':
return 'pitmlb'
elif name == 'San Diego':
return 'sdnmlb'
elif name == 'San Francisco':
return 'sfnmlb'
elif name == 'St. Louis':
return 'slnmlb'
elif name == 'Washington':
return 'wasmlb'
else:
return 'errmlb'
The <code> tag would've been handy there.
by liam on Apr 3, 2008 1:25 PM EDT 0 recs
Off topic but...
For those of you with unlimited text messaging plans there is a way to get scoring updates without subscribing to MLB's Mobile service.
All you have to do is send a text message to google (466453) with the message "score cardinals" and it will send you an up to date score of the game.
by El Hombre on Apr 3, 2008 4:48 PM EDT 0 recs
or just go to mlb.com on your phone if you have internet
that is what I do, i use mobile gameday to get pitch by pitch data while shopping with my wife
by StLHugo on
Apr 3, 2008 10:08 PM EDT
up
0 recs











