Quick Reference: MSB

Master ScoreBoard Objects

A Master ScoreBoard (MSB) object contains a list of all games played on a given (single) date. Each game in the day's list is an instance of msbGame.

The MSB class extends GameDayXML. The msbGame class extends GameDayGameInfo.

GameDayMSB [go]
GameDayXML [go]
.games          - array of msbGame objects
.nxdt           - Next Day Date
.dt             - Scoreboard Date
.updt           - Last Update
.url            - URL object
.filebase       - GameDay files base path
.hostpath       - http URL path
.savename       - XML filename
.txt            - http response text
.xml            - XML DOM object
.statusCode     - http response code
.statusText     - http response message
.headers        - dict of response headers
msbGame
GameDayGameInfo
.dt             url date
.nid            "id"
.status         "status/status"
.inning         "status/inning"
.balls          "status/b"
.strikes        "status/s"
.outs           "status/o"
.flag_top       "status/top_inning"
.flag           "status/ind"
.diffRuns       "linescore/r/diff"
.awayRuns       "linescore/r/away"
.awayHits       "linescore/h/away"
.awayErrs       "linescore/e/away"
.homeRuns       "linescore/r/home"
.homeHits       "linescore/h/home"
.homeErrs       "linescore/e/home"
.inning[]       "linescore/inning[]"
:WP             "winning_pitcher/@"
:LP             "losing_pitcher/@"
:SP             "save_pitcher/@"
.tag            "id"
.gid            "gameday"
.gtype          "game_type"
.descr          "description"
.league         "league"
.day            "day"
.time           "time"
.ampm           "ampm"
.tz             "time_zone"
.innings        "scheduled_innings"
.resumes        "resume_date"
.game_pk        "game_pk"
.gd_sw          "gameday_sw"
.venue          "venue"
.venueId        "venue_id"
.awayId         "away_team_id"
.awayCity       "away_team_city"
.awayName       "away_team_name"
.awayAbbr       "away_abbrev"
.awayCode       "away_code"
.awayDiv        "away_division"
.awayLg         "away_league_id"
.awayWin        "away_win"
.awayLoss       "away_loss"
.awayGB         "away_games_back"
.homeId         "home_team_id"
.homeCity       "home_team_city"
.homeName       "home_team_name"
.homeAbbr       "home_abbrev"
.homeCode       "home_code"
.homeDiv        "home_division"
.homeLg         "home_league_id"
.homeWin        "home_win"
.homeLoss       "home_loss"
.homeGB         "home_games_back"