No Subscription to this function
GET /baseball/get_tables
Returns the league, home & away tables per season or round.
Request URL
https://dsg-api.com/clients/{client_name}/baseball/get_tables?type={type}&id={id}&client={client_name}&authkey={client_authkey}
Parameters
authkey
string Required
client authentification key
client
string Required
unique client ID
date
string
set a date in format yyyy-mm-dd as limit
ftype
string
changes feed type from XML to json (ftype=json)
gameweek
int
gameweek value to get table from
id
int Required
object id to return
lang
string
two-character language code, defaults to 'en'
live
string
only 'yes' is valid which will provide a live table
type
string Required
type is either "season" or "round"
Nodes
competition
Details about competition
area_id
unique identifier for area.
area_name
contains the area name.
competition_id
unique identifier for a competition.
format
competition format to filter out leagues or cups
last_updated
When record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
name
name of the competition.
teamtype
determines the type of team/competition (male,female,male_youth,female_youth)
type
determines if a competition is between club teams (club) or national teams (international).
group
Details about group
group_id
unique identifier to the group.
last_updated
When group was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
name
name of group
method
details about the API function
method_id
unique ID of method.
name
name of method.
rounds
Details about round
current_gameweek
displays the gameweek of nearest match to today
end_date
end date, format 'yyyy-mm-dd'.
last_updated
When record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
name
name of round
round_id
unique identifier of round.
start_date
start date, format 'yyyy-mm-dd'.
type
Determines if the round contains a table or a cup structure (knock-out).
season
Details about season
end_date
end date, format 'yyyy-mm-dd'.
last_updated
when record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
logo
full path URL of logo for particular season
original_name
competition name during this season
season_id
unique identifier for season.
start_date
start date, format 'yyyy-mm-dd'.
title
title of season
table
Details about table position entry
form
performance of the last 5 matches in the particular round (W = win, D = draw, L = loss)
games_behind
number of matches behind leading team
home
win-loss record for home matches
matches_lost
value for total lost matches
matches_tied
value for total tied matches
matches_total
value for total played matches
matches_won
value for total won matches
next_match_id
match_id of the upcoming match in the particular round
next_opponent_name
current team name of the next opponent in the particular round
next_opponent_team_id
team_id of the next opponent in the particular round
original_team_name
original team name during the season
percentage
percentage value of wins vs losses
points
value for total points gained
prev_season
defines last season achievements ('C','CW','P','R')
road
win-loss record for away matches
runs_against
value for total runs against
runs_difference
value for total runs difference
runs_for
value for total runs scored
short_name
short name of the team.
team_id
Unique identifier for team.
team_name
current team name
zone
name of table zone
zone_id
Unique identifier for a table zone
Response Headers
200
Success
401
Unauthorized
429
Rate limit exceeded
Code Samples
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://dsg-api.com/clients/{client_name}/baseball/get_tables?type={type}&id={id}&client={client_name}&authkey={client_authkey}");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, "User:Password");
$content = curl_exec($ch);
curl_close($ch);
?>
curl GET -u "User:Password" "https://dsg-api.com/clients/{client_name}/baseball/get_tables?type={type}&id={id}&client={client_name}&authkey={client_authkey}"
response = requests.get("https://dsg-api.com/clients/{client_name}/baseball/get_tables?type={type}&id={id}&client={client_name}&authkey={client_authkey}", auth=("User", "Password"))
Response Example
200 Success
{"datasportsgroup":{"version":"1.0","sport":"baseball","lang":"en","method":{"method_id":"57","name":"get_tables"},"competition":{"competition_id":"921","name":"MLB","teamtype":"male","type":"club","format":"domestic_league","area_id":"203","area_name":"United States","last_updated":"2019-01-29 10:26:45","season":{"season_id":"15143","title":"2018","original_name":"MLB","start_date":"2018-03-29","end_date":"2018-11-02","logo":"https:\/\/www.dsg-images.com\/comps\/200x200\/921.png","last_updated":"2018-01-07 15:34:47","rounds":{"round_id":"18319","name":"Regular Season","start_date":"2018-03-29","end_date":"2018-10-31","type":"table","last_updated":"2019-01-07 14:53:04","group":[{"group_id":"4774","name":"American League Central","last_updated":"2018-01-07 15:38:06","total":{"table":[{"position":"1","team_id":"25448","team_name":"Cleveland Indians","short_name":"Indians","original_team_name":"Cleveland Indians","zone":"Championship Playoffs","zone_id":"champ_playoffs","prev_season":"","form":"W,L,W,L,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"91","matches_tied":"0","matches_lost":"71","runs_for":"818","runs_against":"648","runs_difference":"170","percentage":"0.562","games_behind":"0","home":"49-32","road":"42-39"},{"position":"2","team_id":"25453","team_name":"Minnesota Twins","short_name":"Twins","original_team_name":"Minnesota Twins","zone":"","zone_id":"","prev_season":"","form":"W,W,W,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"78","matches_tied":"0","matches_lost":"84","runs_for":"738","runs_against":"775","runs_difference":"-37","percentage":"0.481","games_behind":"13","home":"49-32","road":"29-52"},{"position":"3","team_id":"25451","team_name":"Detroit Tigers","short_name":"Tigers","original_team_name":"Detroit Tigers","zone":"","zone_id":"","prev_season":"","form":"L,L,L,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"64","matches_tied":"0","matches_lost":"98","runs_for":"630","runs_against":"796","runs_difference":"-166","percentage":"0.395","games_behind":"27","home":"38-43","road":"26-55"},{"position":"4","team_id":"25447","team_name":"Chicago White Sox","short_name":"White Sox","original_team_name":"Chicago White Sox","zone":"","zone_id":"","prev_season":"","form":"L,L,L,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"62","matches_tied":"0","matches_lost":"100","runs_for":"656","runs_against":"848","runs_difference":"-192","percentage":"0.383","games_behind":"29","home":"30-51","road":"32-49"},{"position":"5","team_id":"25452","team_name":"Kansas City Royals","short_name":"City Royals","original_team_name":"Kansas City Royals","zone":"","zone_id":"","prev_season":"","form":"L,W,L,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"58","matches_tied":"0","matches_lost":"104","runs_for":"638","runs_against":"833","runs_difference":"-195","percentage":"0.358","games_behind":"33","home":"32-49","road":"26-55"}]},"home":{"table":[{"position":"1","team_id":"25453","team_name":"Minnesota Twins","short_name":"Twins","original_team_name":"Minnesota Twins","matches_total":"81","matches_won":"49","matches_tied":"0","matches_lost":"32","runs_for":"397","runs_against":"361","runs_difference":"36","percentage":"0.605","games_behind":"0","home":"49-32","road":""},{"position":"2","team_id":"25448","team_name":"Cleveland Indians","short_name":"Indians","original_team_name":"Cleveland Indians","matches_total":"81","matches_won":"49","matches_tied":"0","matches_lost":"32","runs_for":"443","runs_against":"334","runs_difference":"109","percentage":"0.605","games_behind":"0","home":"49-32","road":""},{"position":"3","team_id":"25451","team_name":"Detroit Tigers","short_name":"Tigers","original_team_name":"Detroit Tigers","matches_total":"81","matches_won":"38","matches_tied":"0","matches_lost":"43","runs_for":"330","runs_against":"363","runs_difference":"-33","percentage":"0.469","games_behind":"11","home":"38-43","road":""},{"position":"4","team_id":"25452","team_name":"Kansas City Royals","short_name":"City Royals","original_team_name":"Kansas City Royals","matches_total":"81","matches_won":"32","matches_tied":"0","matches_lost":"49","runs_for":"333","runs_against":"424","runs_difference":"-91","percentage":"0.395","games_behind":"17","home":"32-49","road":""},{"position":"5","team_id":"25447","team_name":"Chicago White Sox","short_name":"White Sox","original_team_name":"Chicago White Sox","matches_total":"81","matches_won":"30","matches_tied":"0","matches_lost":"51","runs_for":"321","runs_against":"409","runs_difference":"-88","percentage":"0.370","games_behind":"19","home":"30-51","road":""}]},"away":{"table":[{"position":"1","team_id":"25448","team_name":"Cleveland Indians","short_name":"Indians","original_team_name":"Cleveland Indians","matches_total":"81","matches_won":"42","matches_tied":"0","matches_lost":"39","runs_for":"375","runs_against":"314","runs_difference":"61","percentage":"0.519","games_behind":"0","home":"","road":"42-39"},{"position":"2","team_id":"25447","team_name":"Chicago White Sox","short_name":"White Sox","original_team_name":"Chicago White Sox","matches_total":"81","matches_won":"32","matches_tied":"0","matches_lost":"49","runs_for":"335","runs_against":"439","runs_difference":"-104","percentage":"0.395","games_behind":"10","home":"","road":"32-49"},{"position":"3","team_id":"25453","team_name":"Minnesota Twins","short_name":"Twins","original_team_name":"Minnesota Twins","matches_total":"81","matches_won":"29","matches_tied":"0","matches_lost":"52","runs_for":"341","runs_against":"414","runs_difference":"-73","percentage":"0.358","games_behind":"13","home":"","road":"29-52"},{"position":"4","team_id":"25451","team_name":"Detroit Tigers","short_name":"Tigers","original_team_name":"Detroit Tigers","matches_total":"81","matches_won":"26","matches_tied":"0","matches_lost":"55","runs_for":"300","runs_against":"433","runs_difference":"-133","percentage":"0.321","games_behind":"16","home":"","road":"26-55"},{"position":"5","team_id":"25452","team_name":"Kansas City Royals","short_name":"City Royals","original_team_name":"Kansas City Royals","matches_total":"81","matches_won":"26","matches_tied":"0","matches_lost":"55","runs_for":"305","runs_against":"409","runs_difference":"-104","percentage":"0.321","games_behind":"16","home":"","road":"26-55"}]}},{"group_id":"4775","name":"American League East","last_updated":"2018-01-07 15:38:06","total":{"table":[{"position":"1","team_id":"25455","team_name":"Boston Red Sox","short_name":"Red Sox","original_team_name":"Boston Red Sox","zone":"Championship Playoffs","zone_id":"champ_playoffs","prev_season":"","form":"W,L,L,L,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"108","matches_tied":"0","matches_lost":"54","runs_for":"876","runs_against":"647","runs_difference":"229","percentage":"0.667","games_behind":"0","home":"57-24","road":"51-30"},{"position":"2","team_id":"25456","team_name":"New York Yankees","short_name":"Yankees","original_team_name":"New York Yankees","zone":"","zone_id":"","prev_season":"","form":"L,W,W,L,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"100","matches_tied":"0","matches_lost":"62","runs_for":"851","runs_against":"669","runs_difference":"182","percentage":"0.617","games_behind":"8","home":"53-28","road":"47-34"},{"position":"3","team_id":"25457","team_name":"Tampa Bay Rays","short_name":"Rays","original_team_name":"Tampa Bay Rays","zone":"","zone_id":"","prev_season":"","form":"W,W,L,L,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"90","matches_tied":"0","matches_lost":"72","runs_for":"716","runs_against":"646","runs_difference":"70","percentage":"0.556","games_behind":"18","home":"51-30","road":"39-42"},{"position":"4","team_id":"25458","team_name":"Toronto Blue Jays","short_name":"Blue Jays","original_team_name":"Toronto Blue Jays","zone":"","zone_id":"","prev_season":"","form":"L,L,W,W,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"73","matches_tied":"0","matches_lost":"89","runs_for":"709","runs_against":"832","runs_difference":"-123","percentage":"0.451","games_behind":"35","home":"40-41","road":"33-48"},{"position":"5","team_id":"25454","team_name":"Baltimore Orioles","short_name":"Orioles","original_team_name":"Baltimore Orioles","zone":"","zone_id":"","prev_season":"","form":"W,L,L,L,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"47","matches_tied":"0","matches_lost":"115","runs_for":"622","runs_against":"892","runs_difference":"-270","percentage":"0.290","games_behind":"61","home":"28-53","road":"19-62"}]},"home":{"table":[{"position":"1","team_id":"25455","team_name":"Boston Red Sox","short_name":"Red Sox","original_team_name":"Boston Red Sox","matches_total":"81","matches_won":"57","matches_tied":"0","matches_lost":"24","runs_for":"468","runs_against":"322","runs_difference":"146","percentage":"0.704","games_behind":"0","home":"57-24","road":""},{"position":"2","team_id":"25456","team_name":"New York Yankees","short_name":"Yankees","original_team_name":"New York Yankees","matches_total":"81","matches_won":"53","matches_tied":"0","matches_lost":"28","runs_for":"453","runs_against":"352","runs_difference":"101","percentage":"0.654","games_behind":"4","home":"53-28","road":""},{"position":"3","team_id":"25457","team_name":"Tampa Bay Rays","short_name":"Rays","original_team_name":"Tampa Bay Rays","matches_total":"81","matches_won":"51","matches_tied":"0","matches_lost":"30","runs_for":"371","runs_against":"284","runs_difference":"87","percentage":"0.630","games_behind":"6","home":"51-30","road":""},{"position":"4","team_id":"25458","team_name":"Toronto Blue Jays","short_name":"Blue Jays","original_team_name":"Toronto Blue Jays","matches_total":"81","matches_won":"40","matches_tied":"0","matches_lost":"41","runs_for":"361","runs_against":"393","runs_difference":"-32","percentage":"0.494","games_behind":"17","home":"40-41","road":""},{"position":"5","team_id":"25454","team_name":"Baltimore Orioles","short_name":"Orioles","original_team_name":"Baltimore Orioles","matches_total":"81","matches_won":"28","matches_tied":"0","matches_lost":"53","runs_for":"339","runs_against":"411","runs_difference":"-72","percentage":"0.346","games_behind":"29","home":"28-53","road":""}]},"away":{"table":[{"position":"1","team_id":"25455","team_name":"Boston Red Sox","short_name":"Red Sox","original_team_name":"Boston Red Sox","matches_total":"81","matches_won":"51","matches_tied":"0","matches_lost":"30","runs_for":"408","runs_against":"325","runs_difference":"83","percentage":"0.630","games_behind":"0","home":"","road":"51-30"},{"position":"2","team_id":"25456","team_name":"New York Yankees","short_name":"Yankees","original_team_name":"New York Yankees","matches_total":"81","matches_won":"47","matches_tied":"0","matches_lost":"34","runs_for":"398","runs_against":"317","runs_difference":"81","percentage":"0.580","games_behind":"4","home":"","road":"47-34"},{"position":"3","team_id":"25457","team_name":"Tampa Bay Rays","short_name":"Rays","original_team_name":"Tampa Bay Rays","matches_total":"81","matches_won":"39","matches_tied":"0","matches_lost":"42","runs_for":"345","runs_against":"362","runs_difference":"-17","percentage":"0.481","games_behind":"12","home":"","road":"39-42"},{"position":"4","team_id":"25458","team_name":"Toronto Blue Jays","short_name":"Blue Jays","original_team_name":"Toronto Blue Jays","matches_total":"81","matches_won":"33","matches_tied":"0","matches_lost":"48","runs_for":"348","runs_against":"439","runs_difference":"-91","percentage":"0.407","games_behind":"18","home":"","road":"33-48"},{"position":"5","team_id":"25454","team_name":"Baltimore Orioles","short_name":"Orioles","original_team_name":"Baltimore Orioles","matches_total":"81","matches_won":"19","matches_tied":"0","matches_lost":"62","runs_for":"283","runs_against":"481","runs_difference":"-198","percentage":"0.235","games_behind":"32","home":"","road":"19-62"}]}},{"group_id":"4776","name":"American League West","last_updated":"2018-01-07 15:38:06","total":{"table":[{"position":"1","team_id":"25459","team_name":"Houston Astros","short_name":"Astros","original_team_name":"Houston Astros","zone":"Championship Playoffs","zone_id":"champ_playoffs","prev_season":"","form":"W,L,W,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"103","matches_tied":"0","matches_lost":"59","runs_for":"797","runs_against":"534","runs_difference":"263","percentage":"0.636","games_behind":"4","home":"46-35","road":"57-24"},{"position":"2","team_id":"25461","team_name":"Oakland Athletics","short_name":"Athletics","original_team_name":"Oakland Athletics","zone":"","zone_id":"","prev_season":"","form":"W,L,L,W,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"97","matches_tied":"0","matches_lost":"65","runs_for":"813","runs_against":"674","runs_difference":"139","percentage":"0.599","games_behind":"10","home":"50-31","road":"47-34"},{"position":"3","team_id":"25462","team_name":"Seattle Mariners","short_name":"Mariners","original_team_name":"Seattle Mariners","zone":"","zone_id":"","prev_season":"","form":"W,W,W,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"89","matches_tied":"0","matches_lost":"73","runs_for":"677","runs_against":"711","runs_difference":"-34","percentage":"0.549","games_behind":"18","home":"45-36","road":"44-37"},{"position":"4","team_id":"25460","team_name":"Los Angeles Angels","short_name":"Angels","original_team_name":"Los Angeles Angels","zone":"","zone_id":"","prev_season":"","form":"L,W,W,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"80","matches_tied":"0","matches_lost":"82","runs_for":"721","runs_against":"722","runs_difference":"-1","percentage":"0.494","games_behind":"27","home":"42-39","road":"38-43"},{"position":"5","team_id":"25463","team_name":"Texas Rangers","short_name":"Rangers","original_team_name":"Texas Rangers","zone":"","zone_id":"","prev_season":"","form":"L,L,L,W,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"67","matches_tied":"0","matches_lost":"95","runs_for":"737","runs_against":"848","runs_difference":"-111","percentage":"0.414","games_behind":"40","home":"34-47","road":"33-48"}]},"home":{"table":[{"position":"1","team_id":"25461","team_name":"Oakland Athletics","short_name":"Athletics","original_team_name":"Oakland Athletics","matches_total":"81","matches_won":"50","matches_tied":"0","matches_lost":"31","runs_for":"369","runs_against":"310","runs_difference":"59","percentage":"0.617","games_behind":"0","home":"50-31","road":""},{"position":"2","team_id":"25459","team_name":"Houston Astros","short_name":"Astros","original_team_name":"Houston Astros","matches_total":"81","matches_won":"46","matches_tied":"0","matches_lost":"35","runs_for":"373","runs_against":"288","runs_difference":"85","percentage":"0.568","games_behind":"4","home":"46-35","road":""},{"position":"3","team_id":"25462","team_name":"Seattle Mariners","short_name":"Mariners","original_team_name":"Seattle Mariners","matches_total":"81","matches_won":"45","matches_tied":"0","matches_lost":"36","runs_for":"299","runs_against":"337","runs_difference":"-38","percentage":"0.556","games_behind":"5","home":"45-36","road":""},{"position":"4","team_id":"25460","team_name":"Los Angeles Angels","short_name":"Angels","original_team_name":"Los Angeles Angels","matches_total":"81","matches_won":"42","matches_tied":"0","matches_lost":"39","runs_for":"355","runs_against":"355","runs_difference":"0","percentage":"0.519","games_behind":"8","home":"42-39","road":""},{"position":"5","team_id":"25463","team_name":"Texas Rangers","short_name":"Rangers","original_team_name":"Texas Rangers","matches_total":"81","matches_won":"34","matches_tied":"0","matches_lost":"47","runs_for":"432","runs_against":"479","runs_difference":"-47","percentage":"0.420","games_behind":"16","home":"34-47","road":""}]},"away":{"table":[{"position":"1","team_id":"25459","team_name":"Houston Astros","short_name":"Astros","original_team_name":"Houston Astros","matches_total":"81","matches_won":"57","matches_tied":"0","matches_lost":"24","runs_for":"424","runs_against":"246","runs_difference":"178","percentage":"0.704","games_behind":"0","home":"","road":"57-24"},{"position":"2","team_id":"25461","team_name":"Oakland Athletics","short_name":"Athletics","original_team_name":"Oakland Athletics","matches_total":"81","matches_won":"47","matches_tied":"0","matches_lost":"34","runs_for":"444","runs_against":"364","runs_difference":"80","percentage":"0.580","games_behind":"10","home":"","road":"47-34"},{"position":"3","team_id":"25462","team_name":"Seattle Mariners","short_name":"Mariners","original_team_name":"Seattle Mariners","matches_total":"81","matches_won":"44","matches_tied":"0","matches_lost":"37","runs_for":"378","runs_against":"374","runs_difference":"4","percentage":"0.543","games_behind":"13","home":"","road":"44-37"},{"position":"4","team_id":"25460","team_name":"Los Angeles Angels","short_name":"Angels","original_team_name":"Los Angeles Angels","matches_total":"81","matches_won":"38","matches_tied":"0","matches_lost":"43","runs_for":"366","runs_against":"367","runs_difference":"-1","percentage":"0.469","games_behind":"19","home":"","road":"38-43"},{"position":"5","team_id":"25463","team_name":"Texas Rangers","short_name":"Rangers","original_team_name":"Texas Rangers","matches_total":"81","matches_won":"33","matches_tied":"0","matches_lost":"48","runs_for":"305","runs_against":"369","runs_difference":"-64","percentage":"0.407","games_behind":"24","home":"","road":"33-48"}]}},{"group_id":"4777","name":"National League Central","last_updated":"2018-01-07 15:38:06","total":{"table":[{"position":"1","team_id":"25466","team_name":"Milwaukee Brewers","short_name":"Brewers","original_team_name":"Milwaukee Brewers","zone":"Championship Playoffs","zone_id":"champ_playoffs","prev_season":"","form":"W,W,W,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"95","matches_tied":"0","matches_lost":"67","runs_for":"751","runs_against":"658","runs_difference":"93","percentage":"0.586","games_behind":"1","home":"51-30","road":"44-37"},{"position":"2","team_id":"25464","team_name":"Chicago Cubs","short_name":"Cubs","original_team_name":"Chicago Cubs","zone":"","zone_id":"","prev_season":"","form":"W,L,W,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"93","matches_tied":"0","matches_lost":"69","runs_for":"760","runs_against":"652","runs_difference":"108","percentage":"0.574","games_behind":"3","home":"50-31","road":"43-38"},{"position":"3","team_id":"25468","team_name":"St. Louis Cardinals","short_name":"Cardinals","original_team_name":"St. Louis Cardinals","zone":"","zone_id":"","prev_season":"","form":"L,W,L,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"88","matches_tied":"0","matches_lost":"74","runs_for":"759","runs_against":"691","runs_difference":"68","percentage":"0.543","games_behind":"8","home":"43-38","road":"45-36"},{"position":"4","team_id":"25467","team_name":"Pittsburgh Pirates","short_name":"Pirates","original_team_name":"Pittsburgh Pirates","zone":"","zone_id":"","prev_season":"","form":"W,L,W,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"161","matches_won":"82","matches_tied":"0","matches_lost":"79","runs_for":"692","runs_against":"693","runs_difference":"-1","percentage":"0.509","games_behind":"13.5","home":"44-36","road":"38-43"},{"position":"5","team_id":"25465","team_name":"Cincinnati Reds","short_name":"Reds","original_team_name":"Cincinnati Reds","zone":"","zone_id":"","prev_season":"","form":"L,L,W,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"68","matches_tied":"0","matches_lost":"94","runs_for":"701","runs_against":"814","runs_difference":"-113","percentage":"0.420","games_behind":"28","home":"37-44","road":"31-50"}]},"home":{"table":[{"position":"1","team_id":"25466","team_name":"Milwaukee Brewers","short_name":"Brewers","original_team_name":"Milwaukee Brewers","matches_total":"81","matches_won":"51","matches_tied":"0","matches_lost":"30","runs_for":"384","runs_against":"322","runs_difference":"62","percentage":"0.630","games_behind":"0","home":"51-30","road":""},{"position":"2","team_id":"25464","team_name":"Chicago Cubs","short_name":"Cubs","original_team_name":"Chicago Cubs","matches_total":"81","matches_won":"50","matches_tied":"0","matches_lost":"31","runs_for":"385","runs_against":"349","runs_difference":"36","percentage":"0.617","games_behind":"1","home":"50-31","road":""},{"position":"3","team_id":"25467","team_name":"Pittsburgh Pirates","short_name":"Pirates","original_team_name":"Pittsburgh Pirates","matches_total":"80","matches_won":"44","matches_tied":"0","matches_lost":"36","runs_for":"326","runs_against":"318","runs_difference":"8","percentage":"0.550","games_behind":"6.5","home":"44-36","road":""},{"position":"4","team_id":"25468","team_name":"St. Louis Cardinals","short_name":"Cardinals","original_team_name":"St. Louis Cardinals","matches_total":"81","matches_won":"43","matches_tied":"0","matches_lost":"38","runs_for":"351","runs_against":"346","runs_difference":"5","percentage":"0.531","games_behind":"8","home":"43-38","road":""},{"position":"5","team_id":"25465","team_name":"Cincinnati Reds","short_name":"Reds","original_team_name":"Cincinnati Reds","matches_total":"81","matches_won":"37","matches_tied":"0","matches_lost":"44","runs_for":"385","runs_against":"418","runs_difference":"-33","percentage":"0.457","games_behind":"14","home":"37-44","road":""}]},"away":{"table":[{"position":"1","team_id":"25468","team_name":"St. Louis Cardinals","short_name":"Cardinals","original_team_name":"St. Louis Cardinals","matches_total":"81","matches_won":"45","matches_tied":"0","matches_lost":"36","runs_for":"408","runs_against":"345","runs_difference":"63","percentage":"0.556","games_behind":"0","home":"","road":"45-36"},{"position":"2","team_id":"25466","team_name":"Milwaukee Brewers","short_name":"Brewers","original_team_name":"Milwaukee Brewers","matches_total":"81","matches_won":"44","matches_tied":"0","matches_lost":"37","runs_for":"367","runs_against":"336","runs_difference":"31","percentage":"0.543","games_behind":"1","home":"","road":"44-37"},{"position":"3","team_id":"25464","team_name":"Chicago Cubs","short_name":"Cubs","original_team_name":"Chicago Cubs","matches_total":"81","matches_won":"43","matches_tied":"0","matches_lost":"38","runs_for":"375","runs_against":"303","runs_difference":"72","percentage":"0.531","games_behind":"2","home":"","road":"43-38"},{"position":"4","team_id":"25467","team_name":"Pittsburgh Pirates","short_name":"Pirates","original_team_name":"Pittsburgh Pirates","matches_total":"81","matches_won":"38","matches_tied":"0","matches_lost":"43","runs_for":"366","runs_against":"375","runs_difference":"-9","percentage":"0.469","games_behind":"7","home":"","road":"38-43"},{"position":"5","team_id":"25465","team_name":"Cincinnati Reds","short_name":"Reds","original_team_name":"Cincinnati Reds","matches_total":"81","matches_won":"31","matches_tied":"0","matches_lost":"50","runs_for":"316","runs_against":"396","runs_difference":"-80","percentage":"0.383","games_behind":"14","home":"","road":"31-50"}]}},{"group_id":"4778","name":"National League East","last_updated":"2018-01-07 15:38:06","total":{"table":[{"position":"1","team_id":"25469","team_name":"Atlanta Braves","short_name":"Braves","original_team_name":"Atlanta Braves","zone":"Championship Playoffs","zone_id":"champ_playoffs","prev_season":"","form":"L,L,W,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"90","matches_tied":"0","matches_lost":"72","runs_for":"762","runs_against":"657","runs_difference":"105","percentage":"0.556","games_behind":"5.5","home":"43-38","road":"47-34"},{"position":"2","team_id":"25503","team_name":"Washington Nationals","short_name":"Nationals","original_team_name":"Washington Nationals","zone":"","zone_id":"","prev_season":"","form":"W,L,L,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"82","matches_tied":"0","matches_lost":"80","runs_for":"769","runs_against":"681","runs_difference":"88","percentage":"0.506","games_behind":"13.5","home":"41-40","road":"41-40"},{"position":"3","team_id":"25472","team_name":"Philadelphia Phillies","short_name":"Phillies","original_team_name":"Philadelphia Phillies","zone":"","zone_id":"","prev_season":"","form":"W,W,L,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"79","matches_tied":"0","matches_lost":"82","runs_for":"672","runs_against":"724","runs_difference":"-52","percentage":"0.491","games_behind":"16","home":"48-32","road":"31-50"},{"position":"4","team_id":"25471","team_name":"New York Mets","short_name":"Mets","original_team_name":"New York Mets","zone":"","zone_id":"","prev_season":"","form":"W,W,L,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"77","matches_tied":"0","matches_lost":"85","runs_for":"684","runs_against":"705","runs_difference":"-21","percentage":"0.475","games_behind":"18.5","home":"37-44","road":"40-41"},{"position":"5","team_id":"25470","team_name":"Miami Marlins","short_name":"Marlins","original_team_name":"Miami Marlins","zone":"","zone_id":"","prev_season":"","form":"L,L,W,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"161","matches_won":"63","matches_tied":"0","matches_lost":"98","runs_for":"587","runs_against":"820","runs_difference":"-233","percentage":"0.391","games_behind":"32","home":"38-43","road":"25-55"}]},"home":{"table":[{"position":"1","team_id":"25472","team_name":"Philadelphia Phillies","short_name":"Phillies","original_team_name":"Philadelphia Phillies","matches_total":"81","matches_won":"48","matches_tied":"0","matches_lost":"32","runs_for":"365","runs_against":"343","runs_difference":"22","percentage":"0.593","games_behind":"0","home":"48-32","road":""},{"position":"2","team_id":"25469","team_name":"Atlanta Braves","short_name":"Braves","original_team_name":"Atlanta Braves","matches_total":"81","matches_won":"43","matches_tied":"0","matches_lost":"38","runs_for":"394","runs_against":"357","runs_difference":"37","percentage":"0.531","games_behind":"5.5","home":"43-38","road":""},{"position":"3","team_id":"25503","team_name":"Washington Nationals","short_name":"Nationals","original_team_name":"Washington Nationals","matches_total":"81","matches_won":"41","matches_tied":"0","matches_lost":"40","runs_for":"411","runs_against":"367","runs_difference":"44","percentage":"0.506","games_behind":"7.5","home":"41-40","road":""},{"position":"4","team_id":"25470","team_name":"Miami Marlins","short_name":"Marlins","original_team_name":"Miami Marlins","matches_total":"81","matches_won":"38","matches_tied":"0","matches_lost":"43","runs_for":"279","runs_against":"323","runs_difference":"-44","percentage":"0.469","games_behind":"10.5","home":"38-43","road":""},{"position":"5","team_id":"25471","team_name":"New York Mets","short_name":"Mets","original_team_name":"New York Mets","matches_total":"81","matches_won":"37","matches_tied":"0","matches_lost":"44","runs_for":"282","runs_against":"308","runs_difference":"-26","percentage":"0.457","games_behind":"11.5","home":"37-44","road":""}]},"away":{"table":[{"position":"1","team_id":"25469","team_name":"Atlanta Braves","short_name":"Braves","original_team_name":"Atlanta Braves","matches_total":"81","matches_won":"47","matches_tied":"0","matches_lost":"34","runs_for":"368","runs_against":"300","runs_difference":"68","percentage":"0.580","games_behind":"0","home":"","road":"47-34"},{"position":"2","team_id":"25503","team_name":"Washington Nationals","short_name":"Nationals","original_team_name":"Washington Nationals","matches_total":"81","matches_won":"41","matches_tied":"0","matches_lost":"40","runs_for":"358","runs_against":"314","runs_difference":"44","percentage":"0.506","games_behind":"6","home":"","road":"41-40"},{"position":"3","team_id":"25471","team_name":"New York Mets","short_name":"Mets","original_team_name":"New York Mets","matches_total":"81","matches_won":"40","matches_tied":"0","matches_lost":"41","runs_for":"402","runs_against":"397","runs_difference":"5","percentage":"0.494","games_behind":"7","home":"","road":"40-41"},{"position":"4","team_id":"25472","team_name":"Philadelphia Phillies","short_name":"Phillies","original_team_name":"Philadelphia Phillies","matches_total":"81","matches_won":"31","matches_tied":"0","matches_lost":"50","runs_for":"307","runs_against":"381","runs_difference":"-74","percentage":"0.383","games_behind":"16","home":"","road":"31-50"},{"position":"5","team_id":"25470","team_name":"Miami Marlins","short_name":"Marlins","original_team_name":"Miami Marlins","matches_total":"80","matches_won":"25","matches_tied":"0","matches_lost":"55","runs_for":"308","runs_against":"497","runs_difference":"-189","percentage":"0.313","games_behind":"21.5","home":"","road":"25-55"}]}},{"group_id":"4779","name":"National League West","last_updated":"2018-01-07 15:38:06","total":{"table":[{"position":"1","team_id":"25506","team_name":"Los Angeles Dodgers","short_name":"Dodgers","original_team_name":"Los Angeles Dodgers","zone":"Championship Playoffs","zone_id":"champ_playoffs","prev_season":"","form":"W,W,W,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"92","matches_tied":"0","matches_lost":"70","runs_for":"802","runs_against":"609","runs_difference":"193","percentage":"0.568","games_behind":"3","home":"44-37","road":"48-33"},{"position":"2","team_id":"25505","team_name":"Colorado Rockies","short_name":"Rockies","original_team_name":"Colorado Rockies","zone":"","zone_id":"","prev_season":"","form":"L,W,W,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"91","matches_tied":"0","matches_lost":"71","runs_for":"778","runs_against":"740","runs_difference":"38","percentage":"0.562","games_behind":"4","home":"47-34","road":"44-37"},{"position":"3","team_id":"25504","team_name":"Arizona Diamondbacks","short_name":"Diamondbacks","original_team_name":"Arizona Diamondbacks","zone":"","zone_id":"","prev_season":"","form":"W,L,L,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"82","matches_tied":"0","matches_lost":"80","runs_for":"693","runs_against":"644","runs_difference":"49","percentage":"0.506","games_behind":"13","home":"40-41","road":"42-39"},{"position":"4","team_id":"25508","team_name":"San Francisco Giants","short_name":"Giants","original_team_name":"San Francisco Giants","zone":"","zone_id":"","prev_season":"","form":"L,L,L,L,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"73","matches_tied":"0","matches_lost":"89","runs_for":"603","runs_against":"699","runs_difference":"-96","percentage":"0.451","games_behind":"22","home":"42-39","road":"31-50"},{"position":"5","team_id":"25507","team_name":"San Diego Padres","short_name":"Padres","original_team_name":"San Diego Padres","zone":"","zone_id":"","prev_season":"","form":"W,L,W,W,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"162","matches_won":"66","matches_tied":"0","matches_lost":"95","runs_for":"617","runs_against":"767","runs_difference":"-150","percentage":"0.410","games_behind":"28.5","home":"31-50","road":"35-45"}]},"home":{"table":[{"position":"1","team_id":"25505","team_name":"Colorado Rockies","short_name":"Rockies","original_team_name":"Colorado Rockies","matches_total":"81","matches_won":"47","matches_tied":"0","matches_lost":"34","runs_for":"445","runs_against":"404","runs_difference":"41","percentage":"0.580","games_behind":"0","home":"47-34","road":""},{"position":"2","team_id":"25506","team_name":"Los Angeles Dodgers","short_name":"Dodgers","original_team_name":"Los Angeles Dodgers","matches_total":"81","matches_won":"44","matches_tied":"0","matches_lost":"37","runs_for":"361","runs_against":"295","runs_difference":"66","percentage":"0.543","games_behind":"3","home":"44-37","road":""},{"position":"3","team_id":"25508","team_name":"San Francisco Giants","short_name":"Giants","original_team_name":"San Francisco Giants","matches_total":"81","matches_won":"42","matches_tied":"0","matches_lost":"39","runs_for":"321","runs_against":"334","runs_difference":"-13","percentage":"0.519","games_behind":"5","home":"42-39","road":""},{"position":"4","team_id":"25504","team_name":"Arizona Diamondbacks","short_name":"Diamondbacks","original_team_name":"Arizona Diamondbacks","matches_total":"81","matches_won":"40","matches_tied":"0","matches_lost":"41","runs_for":"359","runs_against":"328","runs_difference":"31","percentage":"0.494","games_behind":"7","home":"40-41","road":""},{"position":"5","team_id":"25507","team_name":"San Diego Padres","short_name":"Padres","original_team_name":"San Diego Padres","matches_total":"81","matches_won":"31","matches_tied":"0","matches_lost":"50","runs_for":"313","runs_against":"390","runs_difference":"-77","percentage":"0.383","games_behind":"16","home":"31-50","road":""}]},"away":{"table":[{"position":"1","team_id":"25506","team_name":"Los Angeles Dodgers","short_name":"Dodgers","original_team_name":"Los Angeles Dodgers","matches_total":"81","matches_won":"48","matches_tied":"0","matches_lost":"33","runs_for":"441","runs_against":"314","runs_difference":"127","percentage":"0.593","games_behind":"0","home":"","road":"48-33"},{"position":"2","team_id":"25505","team_name":"Colorado Rockies","short_name":"Rockies","original_team_name":"Colorado Rockies","matches_total":"81","matches_won":"44","matches_tied":"0","matches_lost":"37","runs_for":"333","runs_against":"336","runs_difference":"-3","percentage":"0.543","games_behind":"4","home":"","road":"44-37"},{"position":"3","team_id":"25504","team_name":"Arizona Diamondbacks","short_name":"Diamondbacks","original_team_name":"Arizona Diamondbacks","matches_total":"81","matches_won":"42","matches_tied":"0","matches_lost":"39","runs_for":"334","runs_against":"316","runs_difference":"18","percentage":"0.519","games_behind":"6","home":"","road":"42-39"},{"position":"4","team_id":"25507","team_name":"San Diego Padres","short_name":"Padres","original_team_name":"San Diego Padres","matches_total":"81","matches_won":"35","matches_tied":"0","matches_lost":"45","runs_for":"304","runs_against":"377","runs_difference":"-73","percentage":"0.432","games_behind":"12.5","home":"","road":"35-45"},{"position":"5","team_id":"25508","team_name":"San Francisco Giants","short_name":"Giants","original_team_name":"San Francisco Giants","matches_total":"81","matches_won":"31","matches_tied":"0","matches_lost":"50","runs_for":"282","runs_against":"365","runs_difference":"-83","percentage":"0.383","games_behind":"17","home":"","road":"31-50"}]}}]}}}}}