Subscription to this function is not available for your account. To upgrade and receive access to this contact sales@datasportsgroup.com
v2 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 an area
area_name
name of the area
competition_id
unique identifier for a competition
format
competition format (domestic_league, domestic_cup, domestic_league_cup, domestic_super_cup, international_cup, international_super_cup, playoff, tournament, race, unofficial)
gender
determines the gender of the competition (male or female)
last_updated
When record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
name
name of the competition
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 call
sport
sport value
version
version of the API
list
details about list type
aggregation_type
aggregation type (scores or wins)
id
unique identifier for a group if type = group, if type = playoff then for a playoff
last_updated
When record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
name
name of either a group or playoff
score_a
playoff score of team_a
score_b
playoff score of team_b
type
list type (regular, group or playoff)
winner_team_id
unique identifier for the winning team of the playoff
method
details about the API function
method_id
unique ID of method
name
name of method
round
details about the round
end_date
end date, format 'yyyy-mm-dd'
end_date_utc
end date in UTC timezone, format 'yyyy-mm-dd'
end_time
end time, format 'HH:mm:ss'
end_time_utc
end time in UTC timezone, format 'HH:mm:ss'
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'
start_date_utc
start date in UTC timezone, format 'yyyy-mm-dd'.
start_time
start time, format 'HH:mm:ss'
start_time_utc
start time in UTC timezone, format 'HH:mm:ss'
type
determines if the round contains a table or a cup structure (knock-out)
season
details about the 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 entry
area_id
unique identifier for an area
contestant_1_common_name
common name of the contestant
contestant_1_first_name
first name of the contestant
contestant_1_id
unique identifier for the contestant
contestant_1_last_name
last name of the contestant
contestant_1_nationality_area_code
area code of contestants nationality
contestant_1_nationality_area_id
unique area_id of the contestants nationality
contestant_1_nationality_area_name
nationality of the contestant
contestant_1_short_name
short name of the contestant
contestant_2_common_name
common name of the contestant
contestant_2_first_name
first name of the contestant
contestant_2_id
unique identifier for the contestant
contestant_2_last_name
last name of the contestant
contestant_2_nationality_area_code
area code of contestants nationality
contestant_2_nationality_area_id
unique area_id of the contestants nationality
contestant_2_nationality_area_name
nationality of the contestant
contestant_2_short_name
short name of the contestant
contestant_team_id
unique identifier for the contestant team/double
form
performance of the last 5 matches in the particular round (W = win, D = draw, L = loss)
live
indicates if there is a live game for the team
next_match_id
match_id of the upcoming match in the particular round
next_opponent_contestant_name
contestant name of the next opponent in the particular round
next_opponent_contestant_team_id
contestant_team_id of the next opponent 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
position
position value
prev_season
defines last season achievements ('C','CW','P','R')
short_name
shortened name of the person
team_id
unique identifier of the team
team_logo
full path URL of team logo
team_name
current team name
zone
name of table zone
zone_id
unique identifier for a table zone
tour
details about the tour
gender
gender of the tour
name
name of the particular tour
tour_id
unique tour identifier
tour_type
defines if the tournament is part of a tour or not. If not then value "non-tour"
tour_season
details about a tour season
logo
full path URL of logo for particular tour_season
name
name of the tour_season
title
title of the particular tour season
tour_season_id
unique identifier of a tour season
values
tables values of the team (volleyball)
matches_lost
value for total lost matches
matches_total
value for total played matches
matches_won
value for total won matches
points
value for total points gained
score_against
value for total score against
score_for
value for total scored made
set_points_against
value for total sets against
set_points_for
value of the particular stat
set_points_ratio
value of ratio between sets made and sets against
set_ratio
value of ratio between sets made and sets against
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}"
Imports System
Imports System.Net	
Imports System.IO
Imports System.Text

Public Module Module1
	Public Sub Main()
		Dim url As String = "https://dsg-api.com/clients/{client_name}/volleyball/get_tables?type={type}&id={id}&client={client_name}&authkey={client_authkey}"
		Dim myReq As WebRequest = WebRequest.Create(url)
		myReq.Credentials = new System.Net.NetworkCredential("{User}", "{Password}")
		Dim wr As WebResponse = myReq.GetResponse()
		Dim receiveStream As Stream = wr.GetResponseStream()
		Dim reader As StreamReader = New StreamReader(receiveStream, Encoding.UTF8)
		Dim content As String = reader.ReadToEnd()
	End Sub
End Module
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"}]}}]}}}}}