Subscription to this function is not available for your account. To upgrade and receive access to this contact sales@datasportsgroup.com
v3 GET /kabaddi/get_tables
Returns the league, home & away tables per season or round.
Request URL
https://dsg-api.com/clients/{client_name}/kabaddi/get_tables?type={type}&id={id}&client={client_name}&authkey={client_authkey}
API Threshold
  • 10k calls per hour (2.78 calls per second)
  • This threshold applies to ALL your calls you do across the API.
  • Your number of calls get reset every hour at :00
  • If the thresold is reached within the hour you will get a xml/json message accordingly (which is gone when the next hour starts, see previous point)
Parameters
authkey
string Required
client authentification key
client
string Required
unique client ID
ftype
string
changes feed type from XML to json (ftype=json or ftype=json_array)
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
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}/kabaddi/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}/kabaddi/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}/kabaddi/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}/kabaddi/get_tables?type={type}&id={id}&client={client_name}&authkey={client_authkey}", auth=("User", "Password"))
Response Example
200 Success
{"datasportsgroup":{"version":"1.0","sport":"kabaddi","lang":"en","method":{"method_id":"97","name":"get_tables"},"competition":{"competition_id":"1259","name":"Pro Kabaddi League","teamtype":"male","type":"club","format":"domestic_league","area_id":"94","area_name":"India","last_updated":"2019-06-23 13:16:46","season":{"season_id":"18005","title":"Season 6","original_name":"Pro Kabaddi League","start_date":"2018-10-05","end_date":"2019-01-05","logo":"https:\/\/www.dsg-images.com\/comps\/200x200\/1259.png","last_updated":"2018-08-24 12:40:12","rounds":{"round_id":"23892","name":"Regular Season","start_date":"2018-10-05","end_date":"2018-12-27","type":"table","last_updated":"2018-12-17 17:08:33","group":[{"group_id":"6154","name":"Zone A","last_updated":"2018-08-24 12:41:13","total":{"table":[{"position":"1","team_id":"31328","team_name":"Gujarat FortuneGiants","short_name":"Gujarat","original_team_name":"Gujarat FortuneGiants","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":"22","matches_won":"17","matches_lost":"3","matches_tied":"2","score_for":"776","score_against":"659","score_difference":"117","points":"93"},{"position":"2","team_id":"30830","team_name":"U Mumba","short_name":"U Mumba","original_team_name":"U Mumba","zone":"Championship Playoffs","zone_id":"champ_playoffs","prev_season":"","form":"L,D,W,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"22","matches_won":"15","matches_lost":"5","matches_tied":"2","score_for":"827","score_against":"638","score_difference":"189","points":"86"},{"position":"3","team_id":"30825","team_name":"Dabang Delhi K.C.","short_name":"Dabang Delhi","original_team_name":"Dabang Delhi K.C.","zone":"Championship Playoffs","zone_id":"champ_playoffs","prev_season":"","form":"W,D,L,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"22","matches_won":"11","matches_lost":"9","matches_tied":"2","score_for":"750","score_against":"750","score_difference":"0","points":"68"},{"position":"4","team_id":"30828","team_name":"Puneri Paltan","short_name":"Puneri Paltan","original_team_name":"Puneri Paltan","zone":"","zone_id":"","prev_season":"","form":"W,L,L,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"22","matches_won":"8","matches_lost":"12","matches_tied":"2","score_for":"648","score_against":"694","score_difference":"-46","points":"52"},{"position":"5","team_id":"30826","team_name":"Jaipur Pink Panthers","short_name":"Jaipur PP","original_team_name":"Jaipur Pink Panthers","zone":"","zone_id":"","prev_season":"","form":"L,D,L,W,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"22","matches_won":"6","matches_lost":"13","matches_tied":"3","score_for":"711","score_against":"780","score_difference":"-69","points":"43"},{"position":"6","team_id":"30831","team_name":"Haryana Steelers","short_name":"Haryana","original_team_name":"Haryana Steelers","zone":"","zone_id":"","prev_season":"","form":"D,L,L,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"22","matches_won":"6","matches_lost":"14","matches_tied":"2","score_for":"715","score_against":"806","score_difference":"-91","points":"42"}]},"home":{"table":[{"position":"1","team_id":"30830","team_name":"U Mumba","short_name":"U Mumba","original_team_name":"U Mumba","matches_total":"13","matches_won":"10","matches_lost":"3","matches_tied":"0","score_for":"473","score_against":"349","score_difference":"124","points":"52"},{"position":"2","team_id":"30825","team_name":"Dabang Delhi K.C.","short_name":"Dabang Delhi","original_team_name":"Dabang Delhi K.C.","matches_total":"13","matches_won":"6","matches_lost":"6","matches_tied":"1","score_for":"438","score_against":"447","score_difference":"-9","points":"35"},{"position":"3","team_id":"31328","team_name":"Gujarat FortuneGiants","short_name":"Gujarat","original_team_name":"Gujarat FortuneGiants","matches_total":"8","matches_won":"6","matches_lost":"1","matches_tied":"1","score_for":"280","score_against":"234","score_difference":"46","points":"34"},{"position":"4","team_id":"30826","team_name":"Jaipur Pink Panthers","short_name":"Jaipur PP","original_team_name":"Jaipur Pink Panthers","matches_total":"14","matches_won":"4","matches_lost":"7","matches_tied":"3","score_for":"466","score_against":"482","score_difference":"-16","points":"31"},{"position":"5","team_id":"30828","team_name":"Puneri Paltan","short_name":"Puneri Paltan","original_team_name":"Puneri Paltan","matches_total":"14","matches_won":"5","matches_lost":"8","matches_tied":"1","score_for":"402","score_against":"422","score_difference":"-20","points":"28"},{"position":"6","team_id":"30831","team_name":"Haryana Steelers","short_name":"Haryana","original_team_name":"Haryana Steelers","matches_total":"11","matches_won":"3","matches_lost":"7","matches_tied":"1","score_for":"362","score_against":"426","score_difference":"-64","points":"21"}]},"away":{"table":[{"position":"1","team_id":"31328","team_name":"Gujarat FortuneGiants","short_name":"Gujarat","original_team_name":"Gujarat FortuneGiants","matches_total":"14","matches_won":"11","matches_lost":"2","matches_tied":"1","score_for":"496","score_against":"425","score_difference":"71","points":"59"},{"position":"2","team_id":"30830","team_name":"U Mumba","short_name":"U Mumba","original_team_name":"U Mumba","matches_total":"9","matches_won":"5","matches_lost":"2","matches_tied":"2","score_for":"354","score_against":"289","score_difference":"65","points":"34"},{"position":"3","team_id":"30825","team_name":"Dabang Delhi K.C.","short_name":"Dabang Delhi","original_team_name":"Dabang Delhi K.C.","matches_total":"9","matches_won":"5","matches_lost":"3","matches_tied":"1","score_for":"312","score_against":"303","score_difference":"9","points":"33"},{"position":"4","team_id":"30828","team_name":"Puneri Paltan","short_name":"Puneri Paltan","original_team_name":"Puneri Paltan","matches_total":"8","matches_won":"3","matches_lost":"4","matches_tied":"1","score_for":"246","score_against":"272","score_difference":"-26","points":"24"},{"position":"5","team_id":"30831","team_name":"Haryana Steelers","short_name":"Haryana","original_team_name":"Haryana Steelers","matches_total":"11","matches_won":"3","matches_lost":"7","matches_tied":"1","score_for":"353","score_against":"380","score_difference":"-27","points":"21"},{"position":"6","team_id":"30826","team_name":"Jaipur Pink Panthers","short_name":"Jaipur PP","original_team_name":"Jaipur Pink Panthers","matches_total":"8","matches_won":"2","matches_lost":"6","matches_tied":"0","score_for":"245","score_against":"298","score_difference":"-53","points":"12"}]}},{"group_id":"6155","name":"Zone B","last_updated":"2018-08-24 12:41:13","total":{"table":[{"position":"1","team_id":"30824","team_name":"Bengaluru Bulls","short_name":"Bengaluru","original_team_name":"Bengaluru Bulls","zone":"Championship Playoffs","zone_id":"champ_playoffs","prev_season":"","form":"W,L,D,W,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"22","matches_won":"13","matches_lost":"7","matches_tied":"2","score_for":"808","score_against":"704","score_difference":"104","points":"78"},{"position":"2","team_id":"30823","team_name":"Bengal Warriors","short_name":"Bengal Warrior","original_team_name":"Bengal Warriors","zone":"Championship Playoffs","zone_id":"champ_playoffs","prev_season":"","form":"L,W,W,L,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"22","matches_won":"12","matches_lost":"8","matches_tied":"2","score_for":"697","score_against":"695","score_difference":"2","points":"69"},{"position":"3","team_id":"31331","team_name":"UP Yoddha","short_name":"UP Yoddha","original_team_name":"UP Yoddha","zone":"Championship Playoffs","zone_id":"champ_playoffs","prev_season":"","form":"W,W,W,D,W","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"22","matches_won":"8","matches_lost":"10","matches_tied":"4","score_for":"702","score_against":"747","score_difference":"-45","points":"57"},{"position":"4","team_id":"30827","team_name":"Patna Pirates","short_name":"Patna Pirates","original_team_name":"Patna Pirates","zone":"","zone_id":"","prev_season":"","form":"L,L,D,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"22","matches_won":"9","matches_lost":"11","matches_tied":"2","score_for":"799","score_against":"835","score_difference":"-36","points":"55"},{"position":"5","team_id":"30829","team_name":"Telugu Titans","short_name":"Telugu Titans","original_team_name":"Telugu Titans","zone":"","zone_id":"","prev_season":"","form":"L,L,L,W,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"22","matches_won":"8","matches_lost":"13","matches_tied":"1","score_for":"647","score_against":"702","score_difference":"-55","points":"51"},{"position":"6","team_id":"31330","team_name":"Tamil Thalaivas","short_name":"Tamil Thalaiva","original_team_name":"Tamil Thalaivas","zone":"","zone_id":"","prev_season":"","form":"D,L,D,L,L","next_match_id":"","next_opponent_team_id":"","next_opponent_name":"","matches_total":"22","matches_won":"5","matches_lost":"13","matches_tied":"4","score_for":"671","score_against":"741","score_difference":"-70","points":"42"}]},"home":{"table":[{"position":"1","team_id":"30827","team_name":"Patna Pirates","short_name":"Patna Pirates","original_team_name":"Patna Pirates","matches_total":"15","matches_won":"7","matches_lost":"7","matches_tied":"1","score_for":"572","score_against":"568","score_difference":"4","points":"39"},{"position":"2","team_id":"30823","team_name":"Bengal Warriors","short_name":"Bengal Warrior","original_team_name":"Bengal Warriors","matches_total":"9","matches_won":"7","matches_lost":"2","matches_tied":"0","score_for":"286","score_against":"261","score_difference":"25","points":"37"},{"position":"3","team_id":"30824","team_name":"Bengaluru Bulls","short_name":"Bengaluru","original_team_name":"Bengaluru Bulls","matches_total":"9","matches_won":"6","matches_lost":"3","matches_tied":"0","score_for":"337","score_against":"284","score_difference":"53","points":"34"},{"position":"4","team_id":"30829","team_name":"Telugu Titans","short_name":"Telugu Titans","original_team_name":"Telugu Titans","matches_total":"7","matches_won":"4","matches_lost":"3","matches_tied":"0","score_for":"217","score_against":"215","score_difference":"2","points":"26"},{"position":"5","team_id":"31330","team_name":"Tamil Thalaivas","short_name":"Tamil Thalaiva","original_team_name":"Tamil Thalaivas","matches_total":"10","matches_won":"3","matches_lost":"5","matches_tied":"2","score_for":"315","score_against":"332","score_difference":"-17","points":"24"},{"position":"6","team_id":"31331","team_name":"UP Yoddha","short_name":"UP Yoddha","original_team_name":"UP Yoddha","matches_total":"9","matches_won":"1","matches_lost":"4","matches_tied":"4","score_for":"272","score_against":"311","score_difference":"-39","points":"20"}]},"away":{"table":[{"position":"1","team_id":"30824","team_name":"Bengaluru Bulls","short_name":"Bengaluru","original_team_name":"Bengaluru Bulls","matches_total":"13","matches_won":"7","matches_lost":"4","matches_tied":"2","score_for":"471","score_against":"420","score_difference":"51","points":"44"},{"position":"2","team_id":"31331","team_name":"UP Yoddha","short_name":"UP Yoddha","original_team_name":"UP Yoddha","matches_total":"13","matches_won":"7","matches_lost":"6","matches_tied":"0","score_for":"430","score_against":"436","score_difference":"-6","points":"37"},{"position":"3","team_id":"30823","team_name":"Bengal Warriors","short_name":"Bengal Warrior","original_team_name":"Bengal Warriors","matches_total":"13","matches_won":"5","matches_lost":"6","matches_tied":"2","score_for":"411","score_against":"434","score_difference":"-23","points":"32"},{"position":"4","team_id":"30829","team_name":"Telugu Titans","short_name":"Telugu Titans","original_team_name":"Telugu Titans","matches_total":"15","matches_won":"4","matches_lost":"10","matches_tied":"1","score_for":"430","score_against":"487","score_difference":"-57","points":"25"},{"position":"5","team_id":"31330","team_name":"Tamil Thalaivas","short_name":"Tamil Thalaiva","original_team_name":"Tamil Thalaivas","matches_total":"12","matches_won":"2","matches_lost":"8","matches_tied":"2","score_for":"356","score_against":"409","score_difference":"-53","points":"18"},{"position":"6","team_id":"30827","team_name":"Patna Pirates","short_name":"Patna Pirates","original_team_name":"Patna Pirates","matches_total":"7","matches_won":"2","matches_lost":"4","matches_tied":"1","score_for":"227","score_against":"267","score_difference":"-40","points":"16"}]}}]}}}}}