Fantasy Live Scoring v2.0

Summary
Fantasy Live Scoring
Resource
Fantasy Live ScoringLive scoring data for the league.
Change Log
January 15, 2013
HTTP Methods
GETRetrieve live scoring data for league
Exceptions
Following list of exceptions will be returned.
Example
Retrieve live scoring (example restricts output to team id 10)
XML field definitions
/my_team_idThe team ID of the owner represented by the access_token.
/systemThe type of scoring system used by the league.
/periodThe period for the scoring data.
/teamsA container for the list of teams.
/teams/teamA container for the data on a team.
/teams/team/@idThe ID of the team.
/teams/team/home_awayDenotes whether the team is the home or away team in the matchup.
/teams/team/WThe number of wins by the team.
/teams/team/LThe number of losses by the team.
/teams/team/TThe number of ties by the team.
/teams/team/long_abbrAn abbreviation of the team’s name, as a string with a maximum length of 10 characters.
/teams/team/playersA container for the list of players.
/teams/team/players/playerA container for the data on a player.
/teams/team/players/player/firstnameThe first name of the player.
/teams/team/players/player/lastnameThe last name of the player.
/teams/team/players/player/fullnameThe full name of the player.
/teams/team/players/player/stats_periodThe “stringified” listing of the player’s stats for the current period.
/teams/team/players/player/statsThe “stringified” listing of the player’s stats for the current day.
/teams/team/players/player/statusSpecifies the player’s roster status on a fantasy team.
/teams/team/players/player/fptsThe fantasy points scored by the player in the current period.
/teams/team/players/player/fpts_todayThe fantasy points scored by the player today.
/teams/team/players/player/positionAn abbreviation for the primary position of the player.
/teams/team/players/player/pro_statusSpecifies the roster status of the player on the player’s pro team.
/teams/team/players/player/profile_urlThe absolute URL for the CBSSports.com profile for a player.
/teams/team/players/player/pro_teamAn abrreviation for the player’s pro team.
/teams/team/nameThe full name for the fantasy team.
/teams/team/active_live_statsThe “stringified” listing of the team’s active players’ stats for the current period.
/teams/team/active_live_stats_todayThe “stringified” listing of the team’s active players’ stats for the current day.
/teams/team/reserve_live_statsThe “stringified” listing of the team’s reserve players’ stats for the current period.
/teams/team/reserve_live_stats_todayThe “stringified” listing of the team’s reserve players’ stats for the current day.
/teams/team/abbrAn abbreviation of the team’s name, as a string with a maximum length of 3 characters.
/teams/team/ptsFantasy points scored for the current period.
/teams/team/pts_todayFantasy points scored for the current day.
/teams/team/psrProjected starts remaining for the pitchers in the team’s Active lineup starts (baseball only).
/teams/team/opp_team_idThe team ID of the opponent for the current matchup (H2H leagues only).
/teams/team/roster-legalSpecifies whether the owner’s current lineup meets league rules.
/teams/team/categoriesA container element for the list of scoring categories.
/teams/team/categories/categoryA container element for the data on a category.
/teams/team/categories/category/ptsThe points scored by the team in this category for the current period.
/teams/team/categories/category/valueThe value of the stats in this category for the current period.
/teams/team/categories/category/nameAn abbreviation for the statistics category.
/teams/team/categories/category/is_badIndicates whether the stat is good or bad.
/teams/team/categories/category/typeThe type of the statistics category.
/nameThe name of the league.
/matchup_statusThe status of the period’s matchups.
/scoring_typeThe type of scoring used by the league.

Resource

Fantasy Live Scoring

Description

Live scoring data for the league.

The Live scoring API supports four main types of leagues

1.  H2H Points, 2.  H2H Category, 3.  Ranked and 4.  Roto.

Each league type is accessed in the same manner described above.  The response structure will vary slightly based on the type of league.

Change Log

January 15, 2013

  • Added multiple team_id option
  • Added no_players param to not add players to the resource
  • Rename display_period param to period
  • Added Exceptions

HTTP Methods

GET

Retrieve live scoring data for league

URL

http://api.cbssports.com/fantasy/league/scoring/live?version=2.0

Parameters

response_format(optional) Specifies the format in which the requested resource should be returned.  Valid values are XML and JSON.  The default is XML.
team_id(optional, multiple allowed by passing a comma-delimited list of team ids - e.g. team_id=1,2) Specifies which team’s scoring data should be returned.  The API defaults to all teams.
period(optional) Specifies for which period to return scoring data.  The API defaults to the current scoreboard period.
no_players(optional, defaults to 0) Boolean to determine if returned resources should not contain players.

Exceptions

Following list of exceptions will be returned.

  • type: invalid_params, msg: Invalid team_id <team_id>
  • type: invalid_params, msg: Invalid period <period>

Example

Retrieve live scoring (example restricts output to team id 10)

Sample URL

http://api.cbssports.com/fantasy/league/scoring/live?version=2.0

XML Response (H2H Points League)

<?xml version="1.0" encoding="utf-8"?>
<result uriAlias="/league/scoring/live" uri="/league/scoring/live" statusCode="200" statusMessage="OK">
  <body>
    <my_team_id>21</my_team_id>
    <system>h2h</system>
    <period>1</period>
    <teams>
      <team id="10">
        <w>0</w>
        <long_abbr>Desp</long_abbr>
        <home_away>home</home_away>
        <short_name>Desper</short_name>
        <players>
          <player id="7546">
            <firstname>Johnny</firstname>
            <stats_period />
            <status>Active</status>
            <stats_today />
            <fpts_today>0</fpts_today>
            <position>DH</position>
            <lastname>Damon</lastname>
            <pro_status>U</pro_status>
            <fpts_period>0</fpts_period>
            <profile_url>/players/playerpage/7546</profile_url>
            <fullname>Johnny Damon</fullname>
            <pro_team>TB</pro_team>
          </player>
          <player id="593198">
            <firstname>Justin</firstname>
            <stats_period>1-4, 2B, 2 R, BB, GDP</stats_period>
            <status>Active</status>
            <stats_today>1-4, 2B, 2 R, BB, GDP</stats_today>
            <fpts_today>4</fpts_today>
            <position>RF</position>
            <lastname>Upton</lastname>
            <pro_status>A</pro_status>
            <fpts_period>4</fpts_period>
            <profile_url>/players/playerpage/593198</profile_url>
            <fullname>Justin Upton</fullname>
            <pro_team>ARI</pro_team>
          </player>
          <player id="549974">
            <firstname>Matt</firstname>
            <stats_period>0-4</stats_period>
            <status>Active</status>
            <stats_today>0-4</stats_today>
            <fpts_today>0</fpts_today>
            <position>CF</position>
            <lastname>Kemp</lastname>
            <pro_status>A</pro_status>
            <fpts_period>0</fpts_period>
            <profile_url>/players/playerpage/549974</profile_url>
            <fullname>Matt Kemp</fullname>
            <pro_team>LAD</pro_team>
          </player>
          <player id="1522585">
            <firstname>J.P.</firstname>
            <stats_period>1-4, RBI, BB</stats_period>
            <status>Active</status>
            <stats_today>1-4, RBI, BB</stats_today>
            <fpts_today>3</fpts_today>
            <position>C</position>
            <lastname>Arencibia</lastname>
            <pro_status>A</pro_status>
            <fpts_period>3</fpts_period>
            <profile_url>/players/playerpage/1522585</profile_url>
            <fullname>J.P. Arencibia</fullname>
            <pro_team>TOR</pro_team>
          </player>
          <player id="288903">
            <firstname>Adrian</firstname>
            <stats_period />
            <status>Active</status>
            <stats_today />
            <fpts_today>0</fpts_today>
            <position>1B</position>
            <lastname>Gonzalez</lastname>
            <pro_status>A</pro_status>
            <fpts_period>0</fpts_period>
            <profile_url>/players/playerpage/288903</profile_url>
            <fullname>Adrian Gonzalez</fullname>
            <pro_team>BOS</pro_team>
          </player>
          <player id="1099014">
            <firstname>Ben</firstname>
            <stats_period />
            <status>Active</status>
            <stats_today />
            <fpts_today>0</fpts_today>
            <position>2B</position>
            <lastname>Zobrist</lastname>
            <pro_status>A</pro_status>
            <fpts_period>0</fpts_period>
            <profile_url>/players/playerpage/1099014</profile_url>
            <fullname>Ben Zobrist</fullname>
            <pro_team>TB</pro_team>
          </player>
          <player id="489785">
            <firstname>Howard</firstname>
            <stats_period>1-5, 2B, R</stats_period>
            <status>Active</status>
            <stats_today>1-5, 2B, R</stats_today>
            <fpts_today>3</fpts_today>
            <position>2B</position>
            <lastname>Kendrick</lastname>
            <pro_status>A</pro_status>
            <fpts_period>3</fpts_period>
            <profile_url>/players/playerpage/489785</profile_url>
            <fullname>Howard Kendrick</fullname>
            <pro_team>LAA</pro_team>
          </player>
          <player id="1114751">
            <firstname>Evan</firstname>
            <stats_period />
            <status>Active</status>
            <stats_today />
            <fpts_today>0</fpts_today>
            <position>3B</position>
            <lastname>Longoria</lastname>
            <pro_status>A</pro_status>
            <fpts_period>0</fpts_period>
            <profile_url>/players/playerpage/1114751</profile_url>
            <fullname>Evan Longoria</fullname>
            <pro_team>TB</pro_team>
          </player>
          <player id="479165">
            <firstname>Erick</firstname>
            <stats_period />
            <status>Active</status>
            <stats_today />
            <fpts_today>0</fpts_today>
            <position>SS</position>
            <lastname>Aybar</lastname>
            <pro_status>A</pro_status>
            <fpts_period>0</fpts_period>
            <profile_url>/players/playerpage/479165</profile_url>
            <fullname>Erick Aybar</fullname>
            <pro_team>LAA</pro_team>
          </player>
          <player id="548808">
            <firstname>C.J.</firstname>
            <stats_period />
            <status>Active</status>
            <stats_today />
            <fpts_today>0</fpts_today>
            <position>SP</position>
            <lastname>Wilson</lastname>
            <pro_status>A</pro_status>
            <fpts_period>0</fpts_period>
            <profile_url>/players/playerpage/548808</profile_url>
            <fullname>C.J. Wilson</fullname>
            <pro_team>LAA</pro_team>
          </player>
          <player id="1699360">
            <firstname>Doug</firstname>
            <stats_period />
            <status>Active</status>
            <stats_today />
            <fpts_today>0</fpts_today>
            <position>SP</position>
            <lastname>Fister</lastname>
            <pro_status>A</pro_status>
            <fpts_period>0</fpts_period>
            <profile_url>/players/playerpage/1699360</profile_url>
            <fullname>Doug Fister</fullname>
            <pro_team>DET</pro_team>
          </player>
          <player id="585618">
            <firstname>Gio</firstname>
            <stats_period />
            <status>Active</status>
            <stats_today />
            <fpts_today>0</fpts_today>
            <position>SP</position>
            <lastname>Gonzalez</lastname>
            <pro_status>A</pro_status>
            <fpts_period>0</fpts_period>
            <profile_url>/players/playerpage/585618</profile_url>
            <fullname>Gio Gonzalez</fullname>
            <pro_team>WAS</pro_team>
          </player>
          <player id="541523">
            <firstname>Jeff</firstname>
            <stats_period />
            <status>Active</status>
            <stats_today />
            <fpts_today>0</fpts_today>
            <position>SP</position>
            <lastname>Niemann</lastname>
            <pro_status>A</pro_status>
            <fpts_period>0</fpts_period>
            <profile_url>/players/playerpage/541523</profile_url>
            <fullname>Jeff Niemann</fullname>
            <pro_team>TB</pro_team>
          </player>
          <player id="1225651">
            <firstname>Max</firstname>
            <stats_period>6 INN, 7 HA, 2 BBI, 7 K, 2 ER, QS</stats_period>
            <status>Active</status>
            <stats_today>6 INN, 7 HA, 2 BBI, 7 K, 2 ER, QS</stats_today>
            <fpts_today>15</fpts_today>
            <position>SP</position>
            <lastname>Scherzer</lastname>
            <pro_status>A</pro_status>
            <fpts_period>15</fpts_period>
            <profile_url>/players/playerpage/1225651</profile_url>
            <fullname>Max Scherzer</fullname>
            <pro_team>DET</pro_team>
          </player>
          <player id="1520602">
            <firstname>Jordan</firstname>
            <stats_period>INN, BBI, K</stats_period>
            <status>Active</status>
            <stats_today>INN, BBI, K</stats_today>
            <fpts_today>3</fpts_today>
            <position>RP</position>
            <lastname>Walden</lastname>
            <pro_status>A</pro_status>
            <fpts_period>3</fpts_period>
            <profile_url>/players/playerpage/1520602</profile_url>
            <fullname>Jordan Walden</fullname>
            <pro_team>LAA</pro_team>
          </player>
          <player id="127572">
            <firstname>Alfonso</firstname>
            <stats_period>1-4, HR, 3 RBI, R</stats_period>
            <status>Reserve</status>
            <stats_today>1-4, HR, 3 RBI, R</stats_today>
            <fpts_today>8</fpts_today>
            <position>LF</position>
            <lastname>Soriano</lastname>
            <pro_status>A</pro_status>
            <fpts_period>8</fpts_period>
            <profile_url>/players/playerpage/127572</profile_url>
            <fullname>Alfonso Soriano</fullname>
            <pro_team>CHC</pro_team>
          </player>
          <player id="584802">
            <firstname>Chris</firstname>
            <stats_period>0-1, 3 BB</stats_period>
            <status>Reserve</status>
            <stats_today>0-1, 3 BB</stats_today>
            <fpts_today>3</fpts_today>
            <position>C</position>
            <lastname>Iannetta</lastname>
            <pro_status>A</pro_status>
            <fpts_period>3</fpts_period>
            <profile_url>/players/playerpage/584802</profile_url>
            <fullname>Chris Iannetta</fullname>
            <pro_team>LAA</pro_team>
          </player>
          <player id="483349">
            <firstname>David</firstname>
            <stats_period>1-5, R</stats_period>
            <status>Reserve</status>
            <stats_today>1-5, R</stats_today>
            <fpts_today>2</fpts_today>
            <position>3B</position>
            <lastname>Wright</lastname>
            <pro_status>A</pro_status>
            <fpts_period>2</fpts_period>
            <profile_url>/players/playerpage/483349</profile_url>
            <fullname>David Wright</fullname>
            <pro_team>NYM</pro_team>
          </player>
          <player id="7525">
            <firstname>Bartolo</firstname>
            <stats_period />
            <status>Reserve</status>
            <stats_today />
            <fpts_today>0</fpts_today>
            <position>SP</position>
            <lastname>Colon</lastname>
            <pro_status>U</pro_status>
            <fpts_period>0</fpts_period>
            <profile_url>/players/playerpage/7525</profile_url>
            <fullname>Bartolo Colon</fullname>
            <pro_team>NYY</pro_team>
          </player>
          <player id="1784689">
            <firstname>Josh</firstname>
            <stats_period />
            <status>Reserve</status>
            <stats_today />
            <fpts_today>0</fpts_today>
            <position>SP</position>
            <lastname>Collmenter</lastname>
            <pro_status>A</pro_status>
            <fpts_period>0</fpts_period>
            <profile_url>/players/playerpage/1784689</profile_url>
            <fullname>Josh Collmenter</fullname>
            <pro_team>ARI</pro_team>
          </player>
          <player id="580591">
            <firstname>Carlos</firstname>
            <stats_period>INN, BBI, K</stats_period>
            <status>Reserve</status>
            <stats_today>INN, BBI, K</stats_today>
            <fpts_today>3</fpts_today>
            <position>RP</position>
            <lastname>Marmol</lastname>
            <pro_status>A</pro_status>
            <fpts_period>3</fpts_period>
            <profile_url>/players/playerpage/580591</profile_url>
            <fullname>Carlos Marmol</fullname>
            <pro_team>CHC</pro_team>
          </player>
        </players>
        <name>Desperados</name>
        <reserve_live_stats>2-10, HR, 3 RBI, 2 R, 3 BB - INN, BBI, K</reserve_live_stats>
        <reserve_live_stats_today>2-10, HR, 3 RBI, 2 R, 3 BB - INN, BBI, K</reserve_live_stats_today>
        <l>0</l>
        <logo>http://splnbbl.baseball.cbssports.com/images/team-logo/tonyf-desperados2-36x36.gif</logo>
        <abbr>Des</abbr>
        <pts>28</pts>
        <pts_today>28</pts_today>
        <psr>0</psr>
        <opp_team_id>8</opp_team_id>
        <active_live_stats>3-17, 2 2B, RBI, 3 R, 2 BB, GDP - 7 INN, 7 HA, 3 BBI, 8 K, 2 ER, QS</active_live_stats>
        <active_live_stats_today>3-17, 2 2B, RBI, 3 R, 2 BB, GDP - 7 INN, 7 HA, 3 BBI, 8 K, 2 ER, QS</active_live_stats_today>
        <t>0</t>
      </team>
    </teams>
    <name>SPLN Fantasy Baseball League</name>
    <matchup_status>scheduled</matchup_status>
    <type>ok</type>
    <scoring_type>Points</scoring_type>
  </body>
</result>

JSON Response (H2H Points League):

{
    "body": {
        "my_team_id": "21",
        "name": "SPLN Fantasy Baseball League",
        "scoring_type": "Points",
        "system": "h2h",
        "teams": [
            {
                "reserve_live_stats": "2-10, HR, 3 RBI, 2 R, 3 BB - INN, BBI, K",
                "reserve_live_stats_today": "2-10, HR, 3 RBI, 2 R, 3 BB - INN, BBI, K",
                "name": "Desperados",
                "short_name": "Desper",
                "players": [
                    {
                        "status": "Active",
                        "fpts_today": 0,
                        "stats_period": "",
                        "stats": "",
                        "firstname": "Johnny",
                        "pro_status": "U",
                        "lastname": "Damon",
                        "fpts": 0,
                        "pro_team": "TB",
                        "position": "DH",
                        "fullname": "Johnny Damon",
                        "id": "7546",
                        "profile_url": "/players/playerpage/7546"
                    },
                    {
                        "status": "Active",
                        "fpts_today": "4",
                        "stats_period": "1-4, 2B, 2 R, BB, GDP",
                        "stats": "1-4, 2B, 2 R, BB, GDP",
                        "firstname": "Justin",
                        "pro_status": "A",
                        "lastname": "Upton",
                        "fpts": "4",
                        "pro_team": "ARI",
                        "position": "RF",
                        "fullname": "Justin Upton",
                        "id": "593198",
                        "profile_url": "/players/playerpage/593198"
                    },
                    {
                        "status": "Active",
                        "fpts_today": 0,
                        "stats_period": "0-4",
                        "stats": "0-4",
                        "firstname": "Matt",
                        "pro_status": "A",
                        "lastname": "Kemp",
                        "fpts": 0,
                        "pro_team": "LAD",
                        "position": "CF",
                        "fullname": "Matt Kemp",
                        "id": "549974",
                        "profile_url": "/players/playerpage/549974"
                    },
                    {
                        "status": "Active",
                        "fpts_today": "3",
                        "stats_period": "1-4, RBI, BB",
                        "stats": "1-4, RBI, BB",
                        "firstname": "J.P.",
                        "pro_status": "A",
                        "lastname": "Arencibia",
                        "fpts": "3",
                        "pro_team": "TOR",
                        "position": "C",
                        "fullname": "J.P. Arencibia",
                        "id": "1522585",
                        "profile_url": "/players/playerpage/1522585"
                    },
                    {
                        "status": "Active",
                        "fpts_today": 0,
                        "stats_period": "",
                        "stats": "",
                        "firstname": "Adrian",
                        "pro_status": "A",
                        "lastname": "Gonzalez",
                        "fpts": 0,
                        "pro_team": "BOS",
                        "position": "1B",
                        "fullname": "Adrian Gonzalez",
                        "id": "288903",
                        "profile_url": "/players/playerpage/288903"
                    },
                    {
                        "status": "Active",
                        "fpts_today": 0,
                        "stats_period": "",
                        "stats": "",
                        "firstname": "Ben",
                        "pro_status": "A",
                        "lastname": "Zobrist",
                        "fpts": 0,
                        "pro_team": "TB",
                        "position": "2B",
                        "fullname": "Ben Zobrist",
                        "id": "1099014",
                        "profile_url": "/players/playerpage/1099014"
                    },
                    {
                        "status": "Active",
                        "fpts_today": "3",
                        "stats_period": "1-5, 2B, R",
                        "stats": "1-5, 2B, R",
                        "firstname": "Howard",
                        "pro_status": "A",
                        "lastname": "Kendrick",
                        "fpts": "3",
                        "pro_team": "LAA",
                        "position": "2B",
                        "fullname": "Howard Kendrick",
                        "id": "489785",
                        "profile_url": "/players/playerpage/489785"
                    },
                    {
                        "status": "Active",
                        "fpts_today": 0,
                        "stats_period": "",
                        "stats": "",
                        "firstname": "Evan",
                        "pro_status": "A",
                        "lastname": "Longoria",
                        "fpts": 0,
                        "pro_team": "TB",
                        "position": "3B",
                        "fullname": "Evan Longoria",
                        "id": "1114751",
                        "profile_url": "/players/playerpage/1114751"
                    },
                    {
                        "status": "Active",
                        "fpts_today": 0,
                        "stats_period": "",
                        "stats": "",
                        "firstname": "Erick",
                        "pro_status": "A",
                        "lastname": "Aybar",
                        "fpts": 0,
                        "pro_team": "LAA",
                        "position": "SS",
                        "fullname": "Erick Aybar",
                        "id": "479165",
                        "profile_url": "/players/playerpage/479165"
                    },
                    {
                        "status": "Active",
                        "fpts_today": 0,
                        "stats_period": "",
                        "stats": "",
                        "firstname": "C.J.",
                        "pro_status": "A",
                        "lastname": "Wilson",
                        "fpts": 0,
                        "pro_team": "LAA",
                        "position": "SP",
                        "fullname": "C.J. Wilson",
                        "id": "548808",
                        "profile_url": "/players/playerpage/548808"
                    },
                    {
                        "status": "Active",
                        "fpts_today": 0,
                        "stats_period": "",
                        "stats": "",
                        "firstname": "Doug",
                        "pro_status": "A",
                        "lastname": "Fister",
                        "fpts": 0,
                        "pro_team": "DET",
                        "position": "SP",
                        "fullname": "Doug Fister",
                        "id": "1699360",
                        "profile_url": "/players/playerpage/1699360"
                    },
                    {
                        "status": "Active",
                        "fpts_today": 0,
                        "stats_period": "",
                        "stats": "",
                        "firstname": "Gio",
                        "pro_status": "A",
                        "lastname": "Gonzalez",
                        "fpts": 0,
                        "pro_team": "WAS",
                        "position": "SP",
                        "fullname": "Gio Gonzalez",
                        "id": "585618",
                        "profile_url": "/players/playerpage/585618"
                    },
                    {
                        "status": "Active",
                        "fpts_today": 0,
                        "stats_period": "",
                        "stats": "",
                        "firstname": "Jeff",
                        "pro_status": "A",
                        "lastname": "Niemann",
                        "fpts": 0,
                        "pro_team": "TB",
                        "position": "SP",
                        "fullname": "Jeff Niemann",
                        "id": "541523",
                        "profile_url": "/players/playerpage/541523"
                    },
                    {
                        "status": "Active",
                        "fpts_today": "15",
                        "stats_period": "6 INN, 7 HA, 2 BBI, 7 K, 2 ER, QS",
                        "stats": "6 INN, 7 HA, 2 BBI, 7 K, 2 ER, QS",
                        "firstname": "Max",
                        "pro_status": "A",
                        "lastname": "Scherzer",
                        "fpts": "15",
                        "pro_team": "DET",
                        "position": "SP",
                        "fullname": "Max Scherzer",
                        "id": "1225651",
                        "profile_url": "/players/playerpage/1225651"
                    },
                    {
                        "status": "Active",
                        "fpts_today": "3",
                        "stats_period": "INN, BBI, K",
                        "stats": "INN, BBI, K",
                        "firstname": "Jordan",
                        "pro_status": "A",
                        "lastname": "Walden",
                        "fpts": "3",
                        "pro_team": "LAA",
                        "position": "RP",
                        "fullname": "Jordan Walden",
                        "id": "1520602",
                        "profile_url": "/players/playerpage/1520602"
                    },
                    {
                        "status": "Reserve",
                        "fpts_today": "8",
                        "stats_period": "1-4, HR, 3 RBI, R",
                        "stats": "1-4, HR, 3 RBI, R",
                        "firstname": "Alfonso",
                        "pro_status": "A",
                        "lastname": "Soriano",
                        "fpts": "8",
                        "pro_team": "CHC",
                        "position": "LF",
                        "fullname": "Alfonso Soriano",
                        "id": "127572",
                        "profile_url": "/players/playerpage/127572"
                    },
                    {
                        "status": "Reserve",
                        "fpts_today": "3",
                        "stats_period": "0-1, 3 BB",
                        "stats": "0-1, 3 BB",
                        "firstname": "Chris",
                        "pro_status": "A",
                        "lastname": "Iannetta",
                        "fpts": "3",
                        "pro_team": "LAA",
                        "position": "C",
                        "fullname": "Chris Iannetta",
                        "id": "584802",
                        "profile_url": "/players/playerpage/584802"
                    },
                    {
                        "status": "Reserve",
                        "fpts_today": "2",
                        "stats_period": "1-5, R",
                        "stats": "1-5, R",
                        "firstname": "David",
                        "pro_status": "A",
                        "lastname": "Wright",
                        "fpts": "2",
                        "pro_team": "NYM",
                        "position": "3B",
                        "fullname": "David Wright",
                        "id": "483349",
                        "profile_url": "/players/playerpage/483349"
                    },
                    {
                        "status": "Reserve",
                        "fpts_today": 0,
                        "stats_period": "",
                        "stats": "",
                        "firstname": "Bartolo",
                        "pro_status": "U",
                        "lastname": "Colon",
                        "fpts": 0,
                        "pro_team": "NYY",
                        "position": "SP",
                        "fullname": "Bartolo Colon",
                        "id": "7525",
                        "profile_url": "/players/playerpage/7525"
                    },
                    {
                        "status": "Reserve",
                        "fpts_today": 0,
                        "stats_period": "",
                        "stats": "",
                        "firstname": "Josh",
                        "pro_status": "A",
                        "lastname": "Collmenter",
                        "fpts": 0,
                        "pro_team": "ARI",
                        "position": "SP",
                        "fullname": "Josh Collmenter",
                        "id": "1784689",
                        "profile_url": "/players/playerpage/1784689"
                    },
                    {
                        "status": "Reserve",
                        "fpts_today": "3",
                        "stats_period": "INN, BBI, K",
                        "stats": "INN, BBI, K",
                        "firstname": "Carlos",
                        "pro_status": "A",
                        "lastname": "Marmol",
                        "fpts": "3",
                        "pro_team": "CHC",
                        "position": "RP",
                        "fullname": "Carlos Marmol",
                        "id": "580591",
                        "profile_url": "/players/playerpage/580591"
                    }
                ],
                "opp_team_id": "8",
                "l": 0,
                "t": 0,
                "long_abbr": "Desp",
                "abbr": "Des",
                "home_away": "home",
                "w": 0,
                "psr": 0,
                "logo": "http://splnbbl.baseball.cbssports.com/images/team-logo/tonyf-desperados2-36x36.gif",
                "pts": 28,
                "pts_today": 28,
                "id": "10",
                "active_live_stats": "3-17, 2 2B, RBI, 3 R, 2 BB, GDP - 7 INN, 7 HA, 3 BBI, 8 K, 2 ER, QS"
                "active_live_stats_today": "3-17, 2 2B, RBI, 3 R, 2 BB, GDP - 7 INN, 7 HA, 3 BBI, 8 K, 2 ER, QS"
            }
        ],
        "period": "1",
        "type": "ok",
        "matchup_status": "scheduled"
    },
    "uriAlias": "/league/scoring/live",
    "uri": "/league/scoring/live",
    "statusMessage": "OK",
    "statusCode": 200
}

XML field definitions

/my_team_id

The team ID of the owner represented by the access_token.

/system

The type of scoring system used by the league.  To get more information on the scoring system, request the Rules, League Details and Scoring Rules resource.

/period

The period for the scoring data.

/teams

A container for the list of teams.

/teams/team

A container for the data on a team.

/teams/team/@id

The ID of the team.  To get a list of fantasy team IDs, request the Fantasy Teams resource.

/teams/team/home_away

Denotes whether the team is the home or away team in the matchup.

/teams/team/W

The number of wins by the team.

/teams/team/L

The number of losses by the team.

/teams/team/T

The number of ties by the team.

/teams/team/long_abbr

An abbreviation of the team’s name, as a string with a maximum length of 10 characters.

/teams/team/players

A container for the list of players.

/teams/team/players/player

A container for the data on a player.

/teams/team/players/player/firstname

The first name of the player.

/teams/team/players/player/lastname

The last name of the player.

/teams/team/players/player/fullname

The full name of the player.  The value is equivlent to the values of /teams/team/players/player/firstname and /teams/team/players/player/lastname joined with a space.

/teams/team/players/player/stats_period

The “stringified” listing of the player’s stats for the current period.

/teams/team/players/player/stats

The “stringified” listing of the player’s stats for the current day.

/teams/team/players/player/status

Specifies the player’s roster status on a fantasy team.  Possible values are: Active, Reserve, Injured, Minors and Practice Squad (football only).

/teams/team/players/player/fpts

The fantasy points scored by the player in the current period.

/teams/team/players/player/fpts_today

The fantasy points scored by the player today.

/teams/team/players/player/position

An abbreviation for the primary position of the player.  You can get a list of the abbreviations and their expansions by requesting the Positions resource.

/teams/team/players/player/pro_status

Specifies the roster status of the player on the player’s pro team.  Possible values are A (Active), M (Minors), U (Unaffiliated), N (Not With Team), DL (Disabled List), and S (Suspended).

/teams/team/players/player/profile_url

The absolute URL for the CBSSports.com profile for a player.  This URL should be used to link to the page outside of the iframe in which your app resides.

/teams/team/players/player/pro_team

An abrreviation for the player’s pro team.

/teams/team/name

The full name for the fantasy team.

/teams/team/active_live_stats

The “stringified” listing of the team’s active players’ stats for the current period.

/teams/team/active_live_stats_today

The “stringified” listing of the team’s active players’ stats for the current day.

/teams/team/reserve_live_stats

The “stringified” listing of the team’s reserve players’ stats for the current period.

/teams/team/reserve_live_stats_today

The “stringified” listing of the team’s reserve players’ stats for the current day.

/teams/team/abbr

An abbreviation of the team’s name, as a string with a maximum length of 3 characters.

/teams/team/pts

Fantasy points scored for the current period.

/teams/team/pts_today

Fantasy points scored for the current day.

/teams/team/psr

Projected starts remaining for the pitchers in the team’s Active lineup starts (baseball only).

/teams/team/opp_team_id

The team ID of the opponent for the current matchup (H2H leagues only).

/teams/team/roster-legal

Specifies whether the owner’s current lineup meets league rules.  Possible values are yes and no.

/teams/team/categories

A container element for the list of scoring categories.

/teams/team/categories/category

A container element for the data on a category.

/teams/team/categories/category/pts

The points scored by the team in this category for the current period.

/teams/team/categories/category/value

The value of the stats in this category for the current period.

/teams/team/categories/category/name

An abbreviation for the statistics category.  You can get a list of stats category abbreviations by requesting the Stats Categories resource.

/teams/team/categories/category/is_bad

Indicates whether the stat is good or bad.  Possible values are true and false.  If false, it is a good stat in which a higher number increases a player’s value (for instance, Wins).  If the value is true, it is a bad stat in which a higher number reduces a player’s value (for example, Earned Run Average).

/teams/team/categories/category/type

The type of the statistics category.  There are two types in baseball (batting and pitching).

/name

The name of the league.

/matchup_status

The status of the period’s matchups.  Possible values are: scheduled, in progress, and final.

/scoring_type

The type of scoring used by the league.  Possible values are: Total Categories, Individual Categories, Points, and Rotisserie.

The first name of the player.
The last name of the player.