Team Schedule/Results

Last updated August 28, 2017

This endpoint returns a team's full schedule and results. Examples: San Antonio Spurs, Detroit Tigers.

URL

GET /sport/results/team_id.format

Sport

Team ID

The team_id is the full name of the team, all lowercase with spaces replaced by dashes (e.g., los‑angeles‑dodgers, oakland‑athletics, san‑antonio‑spurs). Use the Teams endpoint to view all team_id values.

Format

Authorization

Required. A valid access token must be included in the header of the request.

Parameters

Note

The parameters below are listed in order of precedence. That is, if your API request specifies multiple parameters, the result is filtered first by season, then opponent, then location_type, then event_status and so on.

Name Required Description
season optional Return results for specified season using yyyy format. If omitted, defaults to current season. The earliest season for MLB results is 2008. The earliest season for NBA is 2012. NBA seasons are designated by the year in which the season ends (e.g., to return results for the 2011-2012 season, specify 2012).
opponent optional Return events versus the specified opponent only. Opponent is a team_id.
location_type optional Return events where team is the designated home team h or away team a.
event_status optional Return events with the specified status only. Possible values are scheduled, completed, postponed, suspended, and cancelled.
since optional Returns events that occur on or after date (i.e., inclusive) using yyyyMMdd format. This only filters dates within the specified season, it will not return events that span multiple seasons.
Example: season=2014&since=20140101 would return all events that occurred on or after January 1, 2014.
until optional Returns events that occur before date (i.e., exclusive) using yyyyMMdd format for season specified.
Example: season=2014&since=20140101&until=20140201 would return all events that occurred in January 2014.
last optional Return the previous n completed events where n is a positive integer.
Example: last=10 would return the last ten completed events.
next optional Return the next n scheduled events where n is a positive integer.
Example: next=5 would return the next five scheduled events.
order optional Possible values desc for results to be returned from latest to earliest or asc for results to be returned from earliest to latest. If omitted, defaults to desc.

Returned Values

Name Type Description
event_id string This is the event id that is used by MLB Box Score and NBA Box Score
event_status string This value can be scheduled, completed, postponed, suspended, or cancelled. A completed status indicates the game has been processed in the database
event_start_date_time string The scheduled date and time of the event using yyyy‑MM‑ddTHH:mm:ss±hh:mm ISO 8601 format. Some events are scheduled with a "to be determined" time. For these events, a special time value of 03:45:56 using the Eastern Time Zone (ET) is used
event_season_type string The season type for the event: pre, regular, post
event_neutral_site boolean Indicates whether the event was played at a neutral site (i.e., neither team's designated home site and/or geographical vicinity)
team_event_number_in_season integer The event number for team in event_season_type. This number is only incremented when the event_status is either completed or scheduled. For all other event_status types, this value is -1
team_event_location_type string Indicates whether the team was designated as the home team or away team. Possible values h for home or a for away. For NBA and MLB games played at neutral sites (e.g., London, Tokyo), teams are still designated as home and away. Use the value of event_neutral_site to determine site neutrality.
team_event_result string Possible values win or loss. If event_status is anything other than completed, it will be omitted from the result
team_points_scored integer Number of points team scored during event. This value will be -1 when event_status is anything other than completed
team_events_won integer The number of wins team has at the completion of this event or current number of wins if event_status is scheduled
team_events_lost integer The number of losses team has at the completion of this event or current number of losses if event_status is scheduled
team object Team object for this team
opponent_points_scored integer Number of points team's opponent scored during event. This value will be -1 when event_status is anything other than completed
opponent_events_won integer The number of wins team's opponent has immediately prior to this event or current number of wins if event_status is scheduled
opponent_events_lost integer The number of losses team's opponent has immediately prior to this event or current number of wins if event_status is scheduled
opponent object Team object for team's opponent
site object Site of the event

Example Requests

Return schedule/results for Golden State versus Cleveland

curl -H "Authorization: Bearer ACCESS_TOKEN" "https://erikberg.com/nba/results/golden-state-warriors.json?opponent=cleveland-cavaliers"

Return most recent result between Golden State and Cleveland

curl -H "Authorization: Bearer ACCESS_TOKEN" "https://erikberg.com/nba/results/golden-state-warriors.json?opponent=cleveland-cavaliers&last=1"

Return last five results for Golden State

curl -H "Authorization: Bearer ACCESS_TOKEN" "https://erikberg.com/nba/results/golden-state-warriors.json?last=5"

Return events scheduled on or after April 1, 2016

curl -H "Authorization: Bearer ACCESS_TOKEN" "https://erikberg.com/nba/results/golden-state-warriors.json?since=20160401&event_status=scheduled"

Return postponed home events for Chicago Cubs

curl -H "Authorization: Bearer ACCESS_TOKEN" "https://erikberg.com/mlb/results/chicago-cubs.json?location_type=h&event_status=postponed"

Return home events for Colorado Rockies in August, ordered from earliest to latest

curl -H "Authorization: Bearer ACCESS_TOKEN" "https://erikberg.com/mlb/results/colorado-rockies.json?location_type=h&since=20160801&until=20160901&order=asc"

Return complete schedule/results

curl -H "Authorization: Bearer ACCESS_TOKEN" https://erikberg.com/nba/results/golden-state-warriors.json

Example Result

[ {
  "event_id" : "20130516-san-antonio-spurs-at-golden-state-warriors",
  "event_status" : "completed",
  "event_start_date_time" : "2013-05-16T19:30:00-07:00",
  "event_season_type" : "post",
  "team_event_number_in_season" : 12,
  "team_event_location_type" : "h",
  "team_event_result" : "loss",
  "team_points_scored" : 82,
  "team_events_won" : 6,
  "team_events_lost" : 6,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 94,
  "opponent_events_won" : 7,
  "opponent_events_lost" : 2,
  "opponent" : {
    "team_id" : "san-antonio-spurs",
    "abbreviation" : "SA",
    "active" : true,
    "first_name" : "San Antonio",
    "last_name" : "Spurs",
    "conference" : "West",
    "division" : "Southwest",
    "site_name" : "AT&T Center",
    "city" : "San Antonio",
    "state" : "Texas",
    "full_name" : "San Antonio Spurs"
  },
  "site" : {
    "capacity" : 19596,
    "surface" : "Hardwood",
    "name" : "Oracle Arena",
    "state" : "California",
    "city" : "Oakland"
  }
}, {
  "event_id" : "20130514-golden-state-warriors-at-san-antonio-spurs",
  "event_status" : "completed",
  "event_start_date_time" : "2013-05-14T18:30:00-07:00",
  "event_season_type" : "post",
  "team_event_number_in_season" : 11,
  "team_event_location_type" : "a",
  "team_event_result" : "loss",
  "team_points_scored" : 91,
  "team_events_won" : 6,
  "team_events_lost" : 5,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 109,
  "opponent_events_won" : 6,
  "opponent_events_lost" : 2,
  "opponent" : {
    "team_id" : "san-antonio-spurs",
    "abbreviation" : "SA",
    "active" : true,
    "first_name" : "San Antonio",
    "last_name" : "Spurs",
    "conference" : "West",
    "division" : "Southwest",
    "site_name" : "AT&T Center",
    "city" : "San Antonio",
    "state" : "Texas",
    "full_name" : "San Antonio Spurs"
  },
  "site" : {
    "capacity" : 18797,
    "surface" : "Hardwood",
    "name" : "AT&T Center",
    "state" : "Texas",
    "city" : "San Antonio"
  }
}, {
  "event_id" : "20130512-san-antonio-spurs-at-golden-state-warriors",
  "event_status" : "completed",
  "event_start_date_time" : "2013-05-12T12:30:00-07:00",
  "event_season_type" : "post",
  "team_event_number_in_season" : 10,
  "team_event_location_type" : "h",
  "team_event_result" : "win",
  "team_points_scored" : 97,
  "team_events_won" : 6,
  "team_events_lost" : 4,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 87,
  "opponent_events_won" : 6,
  "opponent_events_lost" : 1,
  "opponent" : {
    "team_id" : "san-antonio-spurs",
    "abbreviation" : "SA",
    "active" : true,
    "first_name" : "San Antonio",
    "last_name" : "Spurs",
    "conference" : "West",
    "division" : "Southwest",
    "site_name" : "AT&T Center",
    "city" : "San Antonio",
    "state" : "Texas",
    "full_name" : "San Antonio Spurs"
  },
  "site" : {
    "capacity" : 19596,
    "surface" : "Hardwood",
    "name" : "Oracle Arena",
    "state" : "California",
    "city" : "Oakland"
  }
}, {
  "event_id" : "20130510-san-antonio-spurs-at-golden-state-warriors",
  "event_status" : "completed",
  "event_start_date_time" : "2013-05-10T19:30:00-07:00",
  "event_season_type" : "post",
  "team_event_number_in_season" : 9,
  "team_event_location_type" : "h",
  "team_event_result" : "loss",
  "team_points_scored" : 92,
  "team_events_won" : 5,
  "team_events_lost" : 4,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 102,
  "opponent_events_won" : 5,
  "opponent_events_lost" : 1,
  "opponent" : {
    "team_id" : "san-antonio-spurs",
    "abbreviation" : "SA",
    "active" : true,
    "first_name" : "San Antonio",
    "last_name" : "Spurs",
    "conference" : "West",
    "division" : "Southwest",
    "site_name" : "AT&T Center",
    "city" : "San Antonio",
    "state" : "Texas",
    "full_name" : "San Antonio Spurs"
  },
  "site" : {
    "capacity" : 19596,
    "surface" : "Hardwood",
    "name" : "Oracle Arena",
    "state" : "California",
    "city" : "Oakland"
  }
}, {
  "event_id" : "20130508-golden-state-warriors-at-san-antonio-spurs",
  "event_status" : "completed",
  "event_start_date_time" : "2013-05-08T18:30:00-07:00",
  "event_season_type" : "post",
  "team_event_number_in_season" : 8,
  "team_event_location_type" : "a",
  "team_event_result" : "win",
  "team_points_scored" : 100,
  "team_events_won" : 5,
  "team_events_lost" : 3,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 91,
  "opponent_events_won" : 5,
  "opponent_events_lost" : 0,
  "opponent" : {
    "team_id" : "san-antonio-spurs",
    "abbreviation" : "SA",
    "active" : true,
    "first_name" : "San Antonio",
    "last_name" : "Spurs",
    "conference" : "West",
    "division" : "Southwest",
    "site_name" : "AT&T Center",
    "city" : "San Antonio",
    "state" : "Texas",
    "full_name" : "San Antonio Spurs"
  },
  "site" : {
    "capacity" : 18797,
    "surface" : "Hardwood",
    "name" : "AT&T Center",
    "state" : "Texas",
    "city" : "San Antonio"
  }
}, {
  "event_id" : "20130506-golden-state-warriors-at-san-antonio-spurs",
  "event_status" : "completed",
  "event_start_date_time" : "2013-05-06T18:30:00-07:00",
  "event_season_type" : "post",
  "team_event_number_in_season" : 7,
  "team_event_location_type" : "a",
  "team_event_result" : "loss",
  "team_points_scored" : 127,
  "team_events_won" : 4,
  "team_events_lost" : 3,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 129,
  "opponent_events_won" : 4,
  "opponent_events_lost" : 0,
  "opponent" : {
    "team_id" : "san-antonio-spurs",
    "abbreviation" : "SA",
    "active" : true,
    "first_name" : "San Antonio",
    "last_name" : "Spurs",
    "conference" : "West",
    "division" : "Southwest",
    "site_name" : "AT&T Center",
    "city" : "San Antonio",
    "state" : "Texas",
    "full_name" : "San Antonio Spurs"
  },
  "site" : {
    "capacity" : 18797,
    "surface" : "Hardwood",
    "name" : "AT&T Center",
    "state" : "Texas",
    "city" : "San Antonio"
  }
}, {
  "event_id" : "20130502-denver-nuggets-at-golden-state-warriors",
  "event_status" : "completed",
  "event_start_date_time" : "2013-05-02T19:30:00-07:00",
  "event_season_type" : "post",
  "team_event_number_in_season" : 6,
  "team_event_location_type" : "h",
  "team_event_result" : "win",
  "team_points_scored" : 92,
  "team_events_won" : 4,
  "team_events_lost" : 2,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 88,
  "opponent_events_won" : 2,
  "opponent_events_lost" : 4,
  "opponent" : {
    "team_id" : "denver-nuggets",
    "abbreviation" : "DEN",
    "active" : true,
    "first_name" : "Denver",
    "last_name" : "Nuggets",
    "conference" : "West",
    "division" : "Northwest",
    "site_name" : "Pepsi Center",
    "city" : "Denver",
    "state" : "Colorado",
    "full_name" : "Denver Nuggets"
  },
  "site" : {
    "capacity" : 19596,
    "surface" : "Hardwood",
    "name" : "Oracle Arena",
    "state" : "California",
    "city" : "Oakland"
  }
}, {
  "event_id" : "20130430-golden-state-warriors-at-denver-nuggets",
  "event_status" : "completed",
  "event_start_date_time" : "2013-04-30T17:00:00-07:00",
  "event_season_type" : "post",
  "team_event_number_in_season" : 5,
  "team_event_location_type" : "a",
  "team_event_result" : "loss",
  "team_points_scored" : 100,
  "team_events_won" : 3,
  "team_events_lost" : 2,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 107,
  "opponent_events_won" : 1,
  "opponent_events_lost" : 3,
  "opponent" : {
    "team_id" : "denver-nuggets",
    "abbreviation" : "DEN",
    "active" : true,
    "first_name" : "Denver",
    "last_name" : "Nuggets",
    "conference" : "West",
    "division" : "Northwest",
    "site_name" : "Pepsi Center",
    "city" : "Denver",
    "state" : "Colorado",
    "full_name" : "Denver Nuggets"
  },
  "site" : {
    "capacity" : 19099,
    "surface" : "Hardwood",
    "name" : "Pepsi Center",
    "state" : "Colorado",
    "city" : "Denver"
  }
}, {
  "event_id" : "20130428-denver-nuggets-at-golden-state-warriors",
  "event_status" : "completed",
  "event_start_date_time" : "2013-04-28T18:30:00-07:00",
  "event_season_type" : "post",
  "team_event_number_in_season" : 4,
  "team_event_location_type" : "h",
  "team_event_result" : "win",
  "team_points_scored" : 115,
  "team_events_won" : 3,
  "team_events_lost" : 1,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 101,
  "opponent_events_won" : 1,
  "opponent_events_lost" : 2,
  "opponent" : {
    "team_id" : "denver-nuggets",
    "abbreviation" : "DEN",
    "active" : true,
    "first_name" : "Denver",
    "last_name" : "Nuggets",
    "conference" : "West",
    "division" : "Northwest",
    "site_name" : "Pepsi Center",
    "city" : "Denver",
    "state" : "Colorado",
    "full_name" : "Denver Nuggets"
  },
  "site" : {
    "capacity" : 19596,
    "surface" : "Hardwood",
    "name" : "Oracle Arena",
    "state" : "California",
    "city" : "Oakland"
  }
}, {
  "event_id" : "20130426-denver-nuggets-at-golden-state-warriors",
  "event_status" : "completed",
  "event_start_date_time" : "2013-04-26T19:30:00-07:00",
  "event_season_type" : "post",
  "team_event_number_in_season" : 3,
  "team_event_location_type" : "h",
  "team_event_result" : "win",
  "team_points_scored" : 110,
  "team_events_won" : 2,
  "team_events_lost" : 1,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 108,
  "opponent_events_won" : 1,
  "opponent_events_lost" : 1,
  "opponent" : {
    "team_id" : "denver-nuggets",
    "abbreviation" : "DEN",
    "active" : true,
    "first_name" : "Denver",
    "last_name" : "Nuggets",
    "conference" : "West",
    "division" : "Northwest",
    "site_name" : "Pepsi Center",
    "city" : "Denver",
    "state" : "Colorado",
    "full_name" : "Denver Nuggets"
  },
  "site" : {
    "capacity" : 19596,
    "surface" : "Hardwood",
    "name" : "Oracle Arena",
    "state" : "California",
    "city" : "Oakland"
  }
}, {
  "event_id" : "20130423-golden-state-warriors-at-denver-nuggets",
  "event_status" : "completed",
  "event_start_date_time" : "2013-04-23T19:30:00-07:00",
  "event_season_type" : "post",
  "team_event_number_in_season" : 2,
  "team_event_location_type" : "a",
  "team_event_result" : "win",
  "team_points_scored" : 131,
  "team_events_won" : 1,
  "team_events_lost" : 1,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 117,
  "opponent_events_won" : 1,
  "opponent_events_lost" : 0,
  "opponent" : {
    "team_id" : "denver-nuggets",
    "abbreviation" : "DEN",
    "active" : true,
    "first_name" : "Denver",
    "last_name" : "Nuggets",
    "conference" : "West",
    "division" : "Northwest",
    "site_name" : "Pepsi Center",
    "city" : "Denver",
    "state" : "Colorado",
    "full_name" : "Denver Nuggets"
  },
  "site" : {
    "capacity" : 19099,
    "surface" : "Hardwood",
    "name" : "Pepsi Center",
    "state" : "Colorado",
    "city" : "Denver"
  }
}, {
  "event_id" : "20130420-golden-state-warriors-at-denver-nuggets",
  "event_status" : "completed",
  "event_start_date_time" : "2013-04-20T14:30:00-07:00",
  "event_season_type" : "post",
  "team_event_number_in_season" : 1,
  "team_event_location_type" : "a",
  "team_event_result" : "loss",
  "team_points_scored" : 95,
  "team_events_won" : 0,
  "team_events_lost" : 1,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 97,
  "opponent_events_won" : 0,
  "opponent_events_lost" : 0,
  "opponent" : {
    "team_id" : "denver-nuggets",
    "abbreviation" : "DEN",
    "active" : true,
    "first_name" : "Denver",
    "last_name" : "Nuggets",
    "conference" : "West",
    "division" : "Northwest",
    "site_name" : "Pepsi Center",
    "city" : "Denver",
    "state" : "Colorado",
    "full_name" : "Denver Nuggets"
  },
  "site" : {
    "capacity" : 19099,
    "surface" : "Hardwood",
    "name" : "Pepsi Center",
    "state" : "Colorado",
    "city" : "Denver"
  }
}, {
  "event_id" : "20130417-golden-state-warriors-at-portland-trail-blazers",
  "event_status" : "completed",
  "event_start_date_time" : "2013-04-17T19:30:00-07:00",
  "event_season_type" : "regular",
  "team_event_number_in_season" : 82,
  "team_event_location_type" : "a",
  "team_event_result" : "win",
  "team_points_scored" : 99,
  "team_events_won" : 47,
  "team_events_lost" : 35,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 88,
  "opponent_events_won" : 33,
  "opponent_events_lost" : 48,
  "opponent" : {
    "team_id" : "portland-trail-blazers",
    "abbreviation" : "POR",
    "active" : true,
    "first_name" : "Portland",
    "last_name" : "Trail Blazers",
    "conference" : "West",
    "division" : "Northwest",
    "site_name" : "Moda Center",
    "city" : "Portland",
    "state" : "Oregon",
    "full_name" : "Portland Trail Blazers"
  },
  "site" : {
    "capacity" : 19980,
    "surface" : "Hardwood",
    "name" : "Rose Garden",
    "state" : "Oregon",
    "city" : "Portland"
  }
}, {
  "event_id" : "20130415-san-antonio-spurs-at-golden-state-warriors",
  "event_status" : "completed",
  "event_start_date_time" : "2013-04-15T19:30:00-07:00",
  "event_season_type" : "regular",
  "team_event_number_in_season" : 81,
  "team_event_location_type" : "h",
  "team_event_result" : "win",
  "team_points_scored" : 116,
  "team_events_won" : 46,
  "team_events_lost" : 35,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 106,
  "opponent_events_won" : 58,
  "opponent_events_lost" : 22,
  "opponent" : {
    "team_id" : "san-antonio-spurs",
    "abbreviation" : "SA",
    "active" : true,
    "first_name" : "San Antonio",
    "last_name" : "Spurs",
    "conference" : "West",
    "division" : "Southwest",
    "site_name" : "AT&T Center",
    "city" : "San Antonio",
    "state" : "Texas",
    "full_name" : "San Antonio Spurs"
  },
  "site" : {
    "capacity" : 19596,
    "surface" : "Hardwood",
    "name" : "Oracle Arena",
    "state" : "California",
    "city" : "Oakland"
  }
}, {
  "event_id" : "20130412-golden-state-warriors-at-los-angeles-lakers",
  "event_status" : "completed",
  "event_start_date_time" : "2013-04-12T19:30:00-07:00",
  "event_season_type" : "regular",
  "team_event_number_in_season" : 80,
  "team_event_location_type" : "a",
  "team_event_result" : "loss",
  "team_points_scored" : 116,
  "team_events_won" : 45,
  "team_events_lost" : 35,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 118,
  "opponent_events_won" : 42,
  "opponent_events_lost" : 37,
  "opponent" : {
    "team_id" : "los-angeles-lakers",
    "abbreviation" : "LAL",
    "active" : true,
    "first_name" : "Los Angeles",
    "last_name" : "Lakers",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Staples Center",
    "city" : "Los Angeles",
    "state" : "California",
    "full_name" : "Los Angeles Lakers"
  },
  "site" : {
    "capacity" : 18997,
    "surface" : "Hardwood",
    "name" : "Staples Center",
    "state" : "California",
    "city" : "Los Angeles"
  }
}, {
  "event_id" : "20130411-oklahoma-city-thunder-at-golden-state-warriors",
  "event_status" : "completed",
  "event_start_date_time" : "2013-04-11T19:30:00-07:00",
  "event_season_type" : "regular",
  "team_event_number_in_season" : 79,
  "team_event_location_type" : "h",
  "team_event_result" : "loss",
  "team_points_scored" : 97,
  "team_events_won" : 45,
  "team_events_lost" : 34,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 116,
  "opponent_events_won" : 57,
  "opponent_events_lost" : 21,
  "opponent" : {
    "team_id" : "oklahoma-city-thunder",
    "abbreviation" : "OKC",
    "active" : true,
    "first_name" : "Oklahoma City",
    "last_name" : "Thunder",
    "conference" : "West",
    "division" : "Northwest",
    "site_name" : "Chesapeake Energy Arena",
    "city" : "Oklahoma City",
    "state" : "Oklahoma",
    "full_name" : "Oklahoma City Thunder"
  },
  "site" : {
    "capacity" : 19596,
    "surface" : "Hardwood",
    "name" : "Oracle Arena",
    "state" : "California",
    "city" : "Oakland"
  }
}, {
  "event_id" : "20130409-minnesota-timberwolves-at-golden-state-warriors",
  "event_status" : "completed",
  "event_start_date_time" : "2013-04-09T19:30:00-07:00",
  "event_season_type" : "regular",
  "team_event_number_in_season" : 78,
  "team_event_location_type" : "h",
  "team_event_result" : "win",
  "team_points_scored" : 105,
  "team_events_won" : 45,
  "team_events_lost" : 33,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 89,
  "opponent_events_won" : 29,
  "opponent_events_lost" : 47,
  "opponent" : {
    "team_id" : "minnesota-timberwolves",
    "abbreviation" : "MIN",
    "active" : true,
    "first_name" : "Minnesota",
    "last_name" : "Timberwolves",
    "conference" : "West",
    "division" : "Northwest",
    "site_name" : "Target Center",
    "city" : "Minneapolis",
    "state" : "Minnesota",
    "full_name" : "Minnesota Timberwolves"
  },
  "site" : {
    "capacity" : 19596,
    "surface" : "Hardwood",
    "name" : "Oracle Arena",
    "state" : "California",
    "city" : "Oakland"
  }
}, {
  "event_id" : "20130407-utah-jazz-at-golden-state-warriors",
  "event_status" : "completed",
  "event_start_date_time" : "2013-04-07T17:00:00-07:00",
  "event_season_type" : "regular",
  "team_event_number_in_season" : 77,
  "team_event_location_type" : "h",
  "team_event_result" : "loss",
  "team_points_scored" : 90,
  "team_events_won" : 44,
  "team_events_lost" : 33,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 97,
  "opponent_events_won" : 40,
  "opponent_events_lost" : 37,
  "opponent" : {
    "team_id" : "utah-jazz",
    "abbreviation" : "UTA",
    "active" : true,
    "first_name" : "Utah",
    "last_name" : "Jazz",
    "conference" : "West",
    "division" : "Northwest",
    "site_name" : "EnergySolutions Arena",
    "city" : "Salt Lake City",
    "state" : "Utah",
    "full_name" : "Utah Jazz"
  },
  "site" : {
    "capacity" : 19596,
    "surface" : "Hardwood",
    "name" : "Oracle Arena",
    "state" : "California",
    "city" : "Oakland"
  }
}, {
  "event_id" : "20130405-golden-state-warriors-at-phoenix-suns",
  "event_status" : "completed",
  "event_start_date_time" : "2013-04-05T19:00:00-07:00",
  "event_season_type" : "regular",
  "team_event_number_in_season" : 76,
  "team_event_location_type" : "a",
  "team_event_result" : "win",
  "team_points_scored" : 111,
  "team_events_won" : 44,
  "team_events_lost" : 32,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 107,
  "opponent_events_won" : 23,
  "opponent_events_lost" : 52,
  "opponent" : {
    "team_id" : "phoenix-suns",
    "abbreviation" : "PHO",
    "active" : true,
    "first_name" : "Phoenix",
    "last_name" : "Suns",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "US Airways Center",
    "city" : "Phoenix",
    "state" : "Arizona",
    "full_name" : "Phoenix Suns"
  },
  "site" : {
    "capacity" : 18422,
    "surface" : "Hardwood",
    "name" : "US Airways Center",
    "state" : "Arizona",
    "city" : "Phoenix"
  }
},


  Output Truncated


  {
  "event_id" : "20121102-memphis-grizzlies-at-golden-state-warriors",
  "event_status" : "completed",
  "event_start_date_time" : "2012-11-02T19:30:00-07:00",
  "event_season_type" : "regular",
  "team_event_number_in_season" : 2,
  "team_event_location_type" : "h",
  "team_event_result" : "loss",
  "team_points_scored" : 94,
  "team_events_won" : 1,
  "team_events_lost" : 1,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 104,
  "opponent_events_won" : 0,
  "opponent_events_lost" : 1,
  "opponent" : {
    "team_id" : "memphis-grizzlies",
    "abbreviation" : "MEM",
    "active" : true,
    "first_name" : "Memphis",
    "last_name" : "Grizzlies",
    "conference" : "West",
    "division" : "Southwest",
    "site_name" : "FedEx Forum",
    "city" : "Memphis",
    "state" : "Tennessee",
    "full_name" : "Memphis Grizzlies"
  },
  "site" : {
    "capacity" : 19596,
    "surface" : "Hardwood",
    "name" : "Oracle Arena",
    "state" : "California",
    "city" : "Oakland"
  }
}, {
  "event_id" : "20121031-golden-state-warriors-at-phoenix-suns",
  "event_status" : "completed",
  "event_start_date_time" : "2012-10-31T19:00:00-07:00",
  "event_season_type" : "regular",
  "team_event_number_in_season" : 1,
  "team_event_location_type" : "a",
  "team_event_result" : "win",
  "team_points_scored" : 87,
  "team_events_won" : 1,
  "team_events_lost" : 0,
  "team" : {
    "team_id" : "golden-state-warriors",
    "abbreviation" : "GS",
    "active" : true,
    "first_name" : "Golden State",
    "last_name" : "Warriors",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "Oracle Arena",
    "city" : "Oakland",
    "state" : "California",
    "full_name" : "Golden State Warriors"
  },
  "opponent_points_scored" : 85,
  "opponent_events_won" : 0,
  "opponent_events_lost" : 0,
  "opponent" : {
    "team_id" : "phoenix-suns",
    "abbreviation" : "PHO",
    "active" : true,
    "first_name" : "Phoenix",
    "last_name" : "Suns",
    "conference" : "West",
    "division" : "Pacific",
    "site_name" : "US Airways Center",
    "city" : "Phoenix",
    "state" : "Arizona",
    "full_name" : "Phoenix Suns"
  },
  "site" : {
    "capacity" : 18422,
    "surface" : "Hardwood",
    "name" : "US Airways Center",
    "state" : "Arizona",
    "city" : "Phoenix"
  }
} ]