Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
The JSON returned from the source URL. The classes are generated from this object.
{
"data": [
{
"YearID": "2009",
"DivID": "C",
"LgID": "AL",
"TeamID": "MIN",
"TeamName": "Minnesota Twins",
"FranchID": "MIN",
"W": "87",
"L": "76",
"Rank": "1",
"G": "163",
"Ghome": "0",
"DivWin": "Y",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "E",
"LgID": "AL",
"TeamID": "NYA",
"TeamName": "New York Yankees",
"FranchID": "NYY",
"W": "103",
"L": "59",
"Rank": "1",
"G": "162",
"Ghome": "0",
"DivWin": "Y",
"LgWin": "Y",
"WsWin": "Y"
},
{
"YearID": "2009",
"DivID": "W",
"LgID": "AL",
"TeamID": "LAA",
"TeamName": "Los Angeles Angels of Anaheim",
"FranchID": "ANA",
"W": "97",
"L": "65",
"Rank": "1",
"G": "162",
"Ghome": "0",
"DivWin": "Y",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "W",
"LgID": "NL",
"TeamID": "LAN",
"TeamName": "Los Angeles Dodgers",
"FranchID": "LAD",
"W": "95",
"L": "67",
"Rank": "1",
"G": "162",
"Ghome": "0",
"DivWin": "Y",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "E",
"LgID": "NL",
"TeamID": "PHI",
"TeamName": "Philadelphia Phillies",
"FranchID": "PHI",
"W": "93",
"L": "69",
"Rank": "1",
"G": "162",
"Ghome": "0",
"DivWin": "Y",
"LgWin": "Y",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "C",
"LgID": "NL",
"TeamID": "SLN",
"TeamName": "St. Louis Cardinals",
"FranchID": "STL",
"W": "91",
"L": "71",
"Rank": "1",
"G": "162",
"Ghome": "0",
"DivWin": "Y",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "W",
"LgID": "AL",
"TeamID": "TEX",
"TeamName": "Texas Rangers",
"FranchID": "TEX",
"W": "87",
"L": "75",
"Rank": "2",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "C",
"LgID": "NL",
"TeamID": "CHN",
"TeamName": "Chicago Cubs",
"FranchID": "CHC",
"W": "83",
"L": "78",
"Rank": "2",
"G": "161",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "E",
"LgID": "AL",
"TeamID": "BOS",
"TeamName": "Boston Red Sox",
"FranchID": "BOS",
"W": "95",
"L": "67",
"Rank": "2",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "W",
"LgID": "NL",
"TeamID": "COL",
"TeamName": "Colorado Rockies",
"FranchID": "COL",
"W": "92",
"L": "70",
"Rank": "2",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "C",
"LgID": "AL",
"TeamID": "DET",
"TeamName": "Detroit Tigers",
"FranchID": "DET",
"W": "86",
"L": "77",
"Rank": "2",
"G": "163",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "E",
"LgID": "NL",
"TeamID": "FLO",
"TeamName": "Florida Marlins",
"FranchID": "FLA",
"W": "87",
"L": "75",
"Rank": "2",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "C",
"LgID": "AL",
"TeamID": "CHA",
"TeamName": "Chicago White Sox",
"FranchID": "CHW",
"W": "79",
"L": "83",
"Rank": "3",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "E",
"LgID": "NL",
"TeamID": "ATL",
"TeamName": "Atlanta Braves",
"FranchID": "ATL",
"W": "86",
"L": "76",
"Rank": "3",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "E",
"LgID": "AL",
"TeamID": "TBA",
"TeamName": "Tampa Bay Rays",
"FranchID": "TBD",
"W": "84",
"L": "78",
"Rank": "3",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "W",
"LgID": "AL",
"TeamID": "SEA",
"TeamName": "Seattle Mariners",
"FranchID": "SEA",
"W": "85",
"L": "77",
"Rank": "3",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "W",
"LgID": "NL",
"TeamID": "SFN",
"TeamName": "San Francisco Giants",
"FranchID": "SFG",
"W": "88",
"L": "74",
"Rank": "3",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "C",
"LgID": "NL",
"TeamID": "MIL",
"TeamName": "Milwaukee Brewers",
"FranchID": "MIL",
"W": "80",
"L": "82",
"Rank": "3",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "E",
"LgID": "AL",
"TeamID": "TOR",
"TeamName": "Toronto Blue Jays",
"FranchID": "TOR",
"W": "75",
"L": "87",
"Rank": "4",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "W",
"LgID": "NL",
"TeamID": "SDN",
"TeamName": "San Diego Padres",
"FranchID": "SDP",
"W": "75",
"L": "87",
"Rank": "4",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "C",
"LgID": "NL",
"TeamID": "CIN",
"TeamName": "Cincinnati Reds",
"FranchID": "CIN",
"W": "78",
"L": "84",
"Rank": "4",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "C",
"LgID": "AL",
"TeamID": "CLE",
"TeamName": "Cleveland Indians",
"FranchID": "CLE",
"W": "65",
"L": "97",
"Rank": "4",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "C",
"LgID": "AL",
"TeamID": "KCA",
"TeamName": "Kansas City Royals",
"FranchID": "KCR",
"W": "65",
"L": "97",
"Rank": "4",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "E",
"LgID": "NL",
"TeamID": "NYN",
"TeamName": "New York Mets",
"FranchID": "NYM",
"W": "70",
"L": "92",
"Rank": "4",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "W",
"LgID": "AL",
"TeamID": "OAK",
"TeamName": "Oakland Athletics",
"FranchID": "OAK",
"W": "75",
"L": "87",
"Rank": "4",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "W",
"LgID": "NL",
"TeamID": "ARI",
"TeamName": "Arizona Diamondbacks",
"FranchID": "ARI",
"W": "70",
"L": "92",
"Rank": "5",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "E",
"LgID": "AL",
"TeamID": "BAL",
"TeamName": "Baltimore Orioles",
"FranchID": "BAL",
"W": "64",
"L": "98",
"Rank": "5",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "C",
"LgID": "NL",
"TeamID": "HOU",
"TeamName": "Houston Astros",
"FranchID": "HOU",
"W": "74",
"L": "88",
"Rank": "5",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "E",
"LgID": "NL",
"TeamID": "WAS",
"TeamName": "Washington Nationals",
"FranchID": "WSN",
"W": "59",
"L": "103",
"Rank": "5",
"G": "162",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
},
{
"YearID": "2009",
"DivID": "C",
"LgID": "NL",
"TeamID": "PIT",
"TeamName": "Pittsburgh Pirates",
"FranchID": "PIT",
"W": "62",
"L": "99",
"Rank": "6",
"G": "161",
"Ghome": "0",
"DivWin": "N",
"LgWin": "N",
"WsWin": "N"
}
],
"meta": {
"usermeta": {
},
"debug": true,
"api": "http",
"clientId": "riak-js",
"binary": false,
"raw": "riak",
"contentEncoding": "utf8",
"links": [
{
"bucket": "teams",
"key": "2009_MIN",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_NYA",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_LAA",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_LAN",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_PHI",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_SLN",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_TEX",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_CHN",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_BOS",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_COL",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_DET",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_FLO",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_CHA",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_ATL",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_TBA",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_SEA",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_SFN",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_MIL",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_TOR",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_SDN",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_CIN",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_CLE",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_KCA",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_NYN",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_OAK",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_ARI",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_BAL",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_HOU",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_WAS",
"tag": "teams"
},
{
"bucket": "teams",
"key": "2009_PIT",
"tag": "teams"
}
],
"host": "localhost",
"accept": "multipart/mixed, application/json;q=0.7, */*;q=0.5",
"responseEncoding": "utf8",
"bucket": "seasons",
"key": "2009",
"contentType": "application/json",
"vclock": "a85hYGBgzGDKBVIsU47ys2UwJTLmsTJoSy44xpcFAA==",
"lastMod": "Mon, 10 Jan 2011 23:10:42 GMT",
"etag": "\"4csU9BQ7cGsOSSg6IZLYJl\"",
"statusCode": 200
},
"error": {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment