Viva El Birdos: An SB Nation Community

Navigation: Jump to content areas:



Around SBN: Big 12 Final Box Score Rankings Bar-right-arrows



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 | Comment 3 comments

Story-email Email Printer Print

Comments

Display:

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 links—all 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.

http://www.google.com/intl/en_us/mobile/sms/#

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 to parent up   0 recs

Comments For This Post Are Closed


User Tools

Welcome to the Internet's #1 St. Louis Cardinals blog.

FanPosts

Community blog posts and discussion.

Recommended FanPosts

Az_small
Collecting Saber Research Articles
100_2272_small
Hot Stove Fanpost 11/20- 250ish comments

Recent FanPosts

Cowcartoon1_small
Rule 5 Draft Possibilities....
Small
The Paradigm Shift
Small
2009 Spring Training Schedule Culled
1330_small
What if there had always been two divisions....
Small
What Team Drafts the Best Talent?
1330_small
Fred McAlister RIP
Small
Recruiting Free Agents
Small
Pujols Elbow
1330_small
The greatest Cardinals team and more.....

Post_icon New FanPost All FanPosts Carrot-mini


Managers

2281_small DanUpBaby

Editors

Az_small azruavatar

Adam1_small chuckb

Lewishine_newsiespic-close_small the red baron

ad

Site Meter