Viva El Birdos: An SB Nation Community

Navigation: Jump to content areas:


Sports blogs for fans, by fans.
New Blog: Sounder At Heart for Seattle Sounders Fans!

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 reply actions   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 reply actions   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 reply actions   0 recs

Comments For This Post Are Closed


User Tools

Welcome to the Internet's #1 St. Louis Cardinals blog.
Start posting about the Cardinals »

Join SB Nation and dive into communities focused on all your favorite teams.

FanPosts

Community blog posts and discussion.

Recommended FanPosts

Stl_ia_card_45_-_dark_small
Jeff Pearlman Thinks Of Hair Clumps When He Thinks Of The Thief McGwire
Black-spider-monkey_small
Losing my religion (w/ baseball)

Recent FanPosts

Flanders_small
Yadi2first
Small
40 Man Question..
Cathybachebay1_small
The current Busine$$ of Baseball...how long can it last?
Avatar_small
VEB CheBird T-Shirt for Sale - Red or Powder Blue, CLEARANCE
Stl_ia_card_45_-_dark_small
October Lore: One In A Million
St-louis-cardinals-script_small
A Team of Free Agents
St-louis-cardinals_small
Report: LaRussa Will Return
Small
Skip's Lament: The Curse of Too Many Decent Players

+ New FanPost All FanPosts >


Managers

Jack_benny_small DanUpBaby

Editors

Bender1_small azruavatar

Adam1_small chuckb

Trigun_001_small the red baron