Baseball Files
gameday_url
MLB GameDay URL.
Example URLs:
/year_####/month_##/day_##/@@@@@.xml
/year_####/month_##/day_##/gid_####_##_##_???mlb_???mlb_1/@@@@@.xml
The first is a day object (such as a master_scoreboard), the second is a game object (such as a BoxScore).
classes:
GameDayURL
methods:
parse_gameday_id
Developer@Sonnack.com
December 2011
type GameDayId
GameDay ID String.
form: 2010_04_01_minmlb_tbamlb_1
indx: 012.4..7.90.23.5.78.0.2.45
----------1---------2----2
type GameDayURL
GameDay URL Class.
URLs that specify objects for a given game have a gid.
If there's no gid, the URL is for a day object.
properties:
.url - URL of the GD XML resource
.gid - Game ID (for game objects; else None)
.year - Game Date Year
.month - Game Date Month
.day - Game Date Day
.pg - Page Name (object name)