No Subscription to this function
GET /volleyball/get_tables
Returns the league, home & away tables per season or round.
Request URL
https://dsg-api.com/clients/{client_name}/volleyball/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
ftype
string
changes feed type from XML to json (ftype=json)
gameweek
int
gameweek value to get table from
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).
datasportsgroup
details about the API version, sport, language and generation timestamp
generated_utc
UTC timestamp when the API output was generated
lang
language of the API
sport
sport of the API
version
version of the API
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 full table
form
performance of the last 5 matches in the particular round (W = win, D = draw, L = loss)
matches_lost
value for total lost matches
matches_total
value for total played matches
matches_won
value for total won matches
net_run_rate
value for net run rate (NRR)
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
points
value for total points gained
points_against
value for total points against
points_for
value for total points made
points_ratio
value of ratio between points made and sets against
position
current table position
prev_season
defines last season achievements ('C','CW','P','R')
run_difference
value for total run difference
sets_against
value for total sets against
sets_difference
value of difference between sets made and against
sets_for
value for total sets made
sets_ratio
value of ratio between sets made and sets against
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
Too Many Requests
Code Samples
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://dsg-api.com/clients/{client_name}/volleyball/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}/volleyball/get_tables?type={type}&id={id}&client={client_name}&authkey={client_authkey}"
response = requests.get("https://dsg-api.com/clients/{client_name}/volleyball/get_tables?type={type}&id={id}&client={client_name}&authkey={client_authkey}", auth=("User", "Password"))
Response Example
200 Success
{"datasportsgroup":{"version":"2.0","sport":"volleyball","lang":"en","method":{"method_id":"119","name":"get_tables"},"competition":{"competition_id":"1263","name":"FIVB Women's Club World Championship","teamtype":"female","type":"club","format":"international_cup","area_id":"1","area_name":"World","last_updated":"2018-06-27 09:39:40","season":{"season_id":"23581","title":"2018","original_name":"FIVB Women's Club World Championship","start_date":"2018-12-04","end_date":"2018-12-09","logo":"","last_updated":"2019-08-08 10:43:33","rounds":{"round_id":"34868","name":"Group Stage","start_date":"2018-12-04","end_date":"2018-12-07","type":"table","last_updated":"2019-08-08 10:45:52","group":[{"group_id":"8817","name":"Pool A","last_updated":"2019-08-08 11:25:10","total":{"table":[{"position":"1","team_id":"31195","team_name":"Vakıfbank İstanbul","short_name":"Vakıfbank","original_team_name":"Vakıfbank İstanbul","zone":"Next Round","zone_id":"next_round","prev_season":"","form":"W,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"3","matches_won":"3","matches_lost":"0","score_for":"9","score_against":"0","points":"9","set_ratio":"0","set_points_for":"230","set_points_against":"168","set_points_ratio":"1.369"},{"position":"2","team_id":"37010","team_name":"Minas Tênis Clube","short_name":"Minas","original_team_name":"Minas Tênis Clube","zone":"Next Round","zone_id":"next_round","prev_season":"","form":"L,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"3","matches_won":"2","matches_lost":"1","score_for":"6","score_against":"6","points":"5","set_ratio":"1.000","set_points_for":"265","set_points_against":"243","set_points_ratio":"1.091"},{"position":"3","team_id":"42091","team_name":"Zhejiang WVC","short_name":"Zhejiang WVC","original_team_name":"Zhejiang WVC","zone":"","zone_id":"","prev_season":"","form":"W,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"3","matches_won":"1","matches_lost":"2","score_for":"4","score_against":"8","points":"2","set_ratio":"0.500","set_points_for":"211","set_points_against":"278","set_points_ratio":"0.759"},{"position":"4","team_id":"35420","team_name":"Volero Le Cannet","short_name":"Volero","original_team_name":"Volero Le Cannet","zone":"","zone_id":"","prev_season":"","form":"L,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"3","matches_won":"0","matches_lost":"3","score_for":"4","score_against":"9","points":"2","set_ratio":"0.444","set_points_for":"260","set_points_against":"277","set_points_ratio":"0.939"}]},"home":{"table":[{"position":"1","team_id":"31195","team_name":"Vakıfbank İstanbul","short_name":"Vakıfbank","original_team_name":"Vakıfbank İstanbul","matches_total":"2","matches_won":"2","matches_lost":"0","score_for":"6","score_against":"0","points":"6","set_ratio":"0","set_points_for":"155","set_points_against":"122","set_points_ratio":"1.270"},{"position":"2","team_id":"37010","team_name":"Minas Tênis Clube","short_name":"Minas","original_team_name":"Minas Tênis Clube","matches_total":"1","matches_won":"1","matches_lost":"0","score_for":"3","score_against":"2","points":"2","set_ratio":"1.500","set_points_for":"100","set_points_against":"100","set_points_ratio":"1.000"},{"position":"3","team_id":"42091","team_name":"Zhejiang WVC","short_name":"Zhejiang WVC","original_team_name":"Zhejiang WVC","matches_total":"3","matches_won":"1","matches_lost":"2","score_for":"4","score_against":"8","points":"2","set_ratio":"0.500","set_points_for":"211","set_points_against":"278","set_points_ratio":"0.759"},{"position":"4","team_id":"35420","team_name":"Volero Le Cannet","short_name":"Volero","original_team_name":"Volero Le Cannet","matches_total":"0","matches_won":"0","matches_lost":"0","score_for":"0","score_against":"0","points":"0","set_ratio":"0","set_points_for":"0","set_points_against":"0","set_points_ratio":"0"}]},"away":{"table":[{"position":"1","team_id":"37010","team_name":"Minas Tênis Clube","short_name":"Minas","original_team_name":"Minas Tênis Clube","matches_total":"2","matches_won":"1","matches_lost":"1","score_for":"3","score_against":"4","points":"3","set_ratio":"0.750","set_points_for":"165","set_points_against":"143","set_points_ratio":"1.154"},{"position":"2","team_id":"31195","team_name":"Vakıfbank İstanbul","short_name":"Vakıfbank","original_team_name":"Vakıfbank İstanbul","matches_total":"1","matches_won":"1","matches_lost":"0","score_for":"3","score_against":"0","points":"3","set_ratio":"0","set_points_for":"75","set_points_against":"46","set_points_ratio":"1.630"},{"position":"3","team_id":"35420","team_name":"Volero Le Cannet","short_name":"Volero","original_team_name":"Volero Le Cannet","matches_total":"3","matches_won":"0","matches_lost":"3","score_for":"4","score_against":"9","points":"2","set_ratio":"0.444","set_points_for":"260","set_points_against":"277","set_points_ratio":"0.939"},{"position":"4","team_id":"42091","team_name":"Zhejiang WVC","short_name":"Zhejiang WVC","original_team_name":"Zhejiang WVC","matches_total":"0","matches_won":"0","matches_lost":"0","score_for":"0","score_against":"0","points":"0","set_ratio":"0","set_points_for":"0","set_points_against":"0","set_points_ratio":"0"}]}},{"group_id":"8818","name":"Pool B","last_updated":"2019-08-08 11:25:16","total":{"table":[{"position":"1","team_id":"31197","team_name":"Eczacıbaşı VitrA","short_name":"Eczacıbaşı","original_team_name":"Eczacıbaşı VitrA","zone":"Next Round","zone_id":"next_round","prev_season":"","form":"W,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"3","matches_won":"3","matches_lost":"0","score_for":"9","score_against":"1","points":"9","set_ratio":"9.000","set_points_for":"250","set_points_against":"159","set_points_ratio":"1.572"},{"position":"2","team_id":"42092","team_name":"Praia Clube","short_name":"Praia Clube","original_team_name":"Praia Clube","zone":"Next Round","zone_id":"next_round","prev_season":"","form":"L,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"3","matches_won":"2","matches_lost":"1","score_for":"7","score_against":"3","points":"6","set_ratio":"2.333","set_points_for":"230","set_points_against":"199","set_points_ratio":"1.156"},{"position":"3","team_id":"42093","team_name":"Supreme Volleyball Club","short_name":"Supreme VC","original_team_name":"Supreme Volleyball Club","zone":"","zone_id":"","prev_season":"","form":"W,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"3","matches_won":"1","matches_lost":"2","score_for":"3","score_against":"7","points":"3","set_ratio":"0.429","set_points_for":"187","set_points_against":"235","set_points_ratio":"0.796"},{"position":"4","team_id":"42094","team_name":"Altay VC","short_name":"Altay VC","original_team_name":"Altay VC","zone":"","zone_id":"","prev_season":"","form":"L,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"3","matches_won":"0","matches_lost":"3","score_for":"1","score_against":"9","points":"0","set_ratio":"0.111","set_points_for":"168","set_points_against":"242","set_points_ratio":"0.694"}]},"home":{"table":[{"position":"1","team_id":"42092","team_name":"Praia Clube","short_name":"Praia Clube","original_team_name":"Praia Clube","matches_total":"2","matches_won":"1","matches_lost":"1","score_for":"4","score_against":"3","points":"3","set_ratio":"1.333","set_points_for":"155","set_points_against":"147","set_points_ratio":"1.054"},{"position":"2","team_id":"42093","team_name":"Supreme Volleyball Club","short_name":"Supreme VC","original_team_name":"Supreme Volleyball Club","matches_total":"3","matches_won":"1","matches_lost":"2","score_for":"3","score_against":"7","points":"3","set_ratio":"0.429","set_points_for":"187","set_points_against":"235","set_points_ratio":"0.796"},{"position":"3","team_id":"31197","team_name":"Eczacıbaşı VitrA","short_name":"Eczacıbaşı","original_team_name":"Eczacıbaşı VitrA","matches_total":"1","matches_won":"1","matches_lost":"0","score_for":"3","score_against":"0","points":"3","set_ratio":"0","set_points_for":"75","set_points_against":"36","set_points_ratio":"2.083"},{"position":"4","team_id":"42094","team_name":"Altay VC","short_name":"Altay VC","original_team_name":"Altay VC","matches_total":"0","matches_won":"0","matches_lost":"0","score_for":"0","score_against":"0","points":"0","set_ratio":"0","set_points_for":"0","set_points_against":"0","set_points_ratio":"0"}]},"away":{"table":[{"position":"1","team_id":"31197","team_name":"Eczacıbaşı VitrA","short_name":"Eczacıbaşı","original_team_name":"Eczacıbaşı VitrA","matches_total":"2","matches_won":"2","matches_lost":"0","score_for":"6","score_against":"1","points":"6","set_ratio":"6.000","set_points_for":"175","set_points_against":"123","set_points_ratio":"1.423"},{"position":"2","team_id":"42092","team_name":"Praia Clube","short_name":"Praia Clube","original_team_name":"Praia Clube","matches_total":"1","matches_won":"1","matches_lost":"0","score_for":"3","score_against":"0","points":"3","set_ratio":"0","set_points_for":"75","set_points_against":"52","set_points_ratio":"1.442"},{"position":"3","team_id":"42094","team_name":"Altay VC","short_name":"Altay VC","original_team_name":"Altay VC","matches_total":"3","matches_won":"0","matches_lost":"3","score_for":"1","score_against":"9","points":"0","set_ratio":"0.111","set_points_for":"168","set_points_against":"242","set_points_ratio":"0.694"},{"position":"4","team_id":"42093","team_name":"Supreme Volleyball Club","short_name":"Supreme VC","original_team_name":"Supreme Volleyball Club","matches_total":"0","matches_won":"0","matches_lost":"0","score_for":"0","score_against":"0","points":"0","set_ratio":"0","set_points_for":"0","set_points_against":"0","set_points_ratio":"0"}]}}]}}}}}