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_squad
Returns a list of players linked to a team.
Request URL
https://dsg-api.com/clients/{client_name}/kabaddi/get_squad?team={team_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
detailed
string Required
only 'yes' is valid, enables more details
ftype
string
changes feed type from XML to json (ftype=json or ftype=json_array)
lang
string
two-character language code, defaults to 'en'
picsize
string
one of 150x150, 50x50, 30x30 or 18x18 to get correct size of player picture.
team
int Required
team id to return
Nodes
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
method❯
details about the API function
method_id
unique ID of method
name
name of method
people❯
basic information about the squad member
age
current age of the person
common_name
common name of the person
country_of_birth
name of the country the person was born
country_of_birth_area_id
unique identifier for an area
date_of_death
death date of the person
first_name
first name of the person
gender
gender of the person ('male' or 'female')
height
height of person in centimeters
last_name
last name of the person
last_updated
When record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
membership_id
unique identifier for the membership
nationality
nationality of the person
nationality_area_id
unique identifier for an area
people_id
unique identifier for person
people_picture
full path URL of people headshot, size can be changed via the picsize parameter
place_of_birth
name of city the person was born
role
type of role ('player', 'coach' or 'assistant_coach', 'goalkeeper_coach', 'local_coach', 'scout', 'sporting director')
short_name
shortened name of the person
status
status of the player ('active', 'retired' or 'dead')
weight
weight of person in kilograms
people_extra❯
extra details about the person
position
position value
season_player_statistic❯
detailed player statistics per season (kabaddi)
bonus_points
number of bonus points
empty_raids
number of empty raids
green_cards
number of green cards
original_name
competition name during this season
points
value of the particular stat
raids
number of raids
raid_points
number of raid points
red_cards
value of the particular stat
season_id
unique identifier for season
succesful_tackles
number of succesful tackles
successful_raids
number of successful raids
super10
number of super 10s
super_tackles
number of super tackles
tackles
number of tackles
tackle_points
number of tackle points
title
title of season
touch_points
number of touch points
unsuccesful_tackles
number of unsuccesful tackles
unsuccessful_raids
number of unsuccessful raids
yellow_cards
number of yellow cards
season_player_statistic_avg❯
detailed average player statistics per season (kabaddi)
bonus_points
number of bonus points
empty_raids
number of empty raids
green_cards
number of green cards
original_name
competition name during this season
points
value of the particular stat
raids
number of raids
raid_points
number of raid points
red_cards
value of the particular stat
season_id
unique identifier for season
succesful_tackles
number of succesful tackles
successful_raids
number of successful raids
super10
number of super 10s
super_tackles
number of super tackles
tackles
number of tackles
tackle_points
number of tackle points
title
title of season
touch_points
number of touch points
unsuccesful_tackles
number of unsuccesful tackles
unsuccessful_raids
number of unsuccessful raids
yellow_cards
number of yellow cards
season_statistic❯
season player statistics (kabaddi)
appearances
value of the particular stat
bonus_points
number of bonus points
empty_raids
number of empty raids
green_cards
number of green cards
last_updated
When record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
lineup
number being starting player
original_name
competition name during this season
points
value of the particular stat
raids
number of raids
raid_points
number of raid points
red_cards
value of the particular stat
season_id
unique identifier for season
substitutes_in
number of substitutes in
substitutes_out
number of substitutes out
subs_on_bench
number of subs on bench
succesful_tackles
number of succesful tackles
successful_raids
number of successful raids
super10
number of super 10s
super_tackles
number of super tackles
tackles
number of tackles
tackle_points
number of tackle points
title
title of season
touch_points
number of touch points
unsuccesful_tackles
number of unsuccesful tackles
unsuccessful_raids
number of unsuccessful raids
yellow_cards
number of yellow cards
social_media❯
details about the social media channels
esea
ESEA Profile URL
esl_gaming
ESL Profile URL
facebook
facebook channel URL
faceit
Faceit Profile URL
instagram
instagram channel URL
reddit
reddit channel URL
steamid
steam ID channel URL
strava
strava Profile URL
tiktok
Tiktok Profile URL
twitch
Twitch channel URL
twitter
twitter channel URL
vk
vk channel URL
website
official website address (URL)
youtube
youtube channel URL
team❯
details about a team
area_id
unique identifier for an area
area_name
name of the area
discipline_id
unique identifier of the discipline
discipline_name
name of the discipline
gender
gender of the team ('male', 'male youth', 'female' or 'female youth')
last_updated
When record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
short_name
shortened name of the person
status
the current status of the team ('active' or 'defunct')
team_id
unique identifier of the team
team_name
current team name
title
title of season
tla_name
three letter acronym for this team
type
determines the type of team ('national' or 'club' or 'selection')
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_squad?team={team_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_squad?team={team_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_squad?team={team_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_squad?team={team_id}&client={client_name}&authkey={client_authkey}", auth=("User", "Password"))
Response Example200 Success{"datasportsgroup":{"version":"1.0","sport":"kabaddi","lang":"en","method":{"method_id":"92","name":"get_squad"},"team":{"team_id":"30823","team_name":"Bengal Warriors","short_name":"Bengal Warrior","tla_name":"BEN","type":"club","gender":"male","status":"active","area_id":"94","area_name":"India","last_updated":"2017-05-29 20:14:50","people":[{"people_id":"190367","membership_id":"3187517","first_name":"Rinku","last_name":"Narwal","match_name":"R. Narwal","common_name":"Rinku Narwal","date_of_birth":"","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Defender"},{"people_id":"452854","membership_id":"1284797","first_name":"Ravindra Ramesh","last_name":"Kumavat","match_name":"R. Kumavat","common_name":"Ravindra Ramesh Kumavat","date_of_birth":"1996-04-16","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Raider"},{"people_id":"190118","membership_id":"1284899","first_name":"Maninder","last_name":"Singh","match_name":"M. Singh","common_name":"Maninder Singh","date_of_birth":"1990-01-01","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Raider"},{"people_id":"450529","membership_id":"2776609","first_name":"Rakesh","last_name":"Narwal","match_name":"R. Narwal","common_name":"Rakesh Narwal","date_of_birth":"1995-05-06","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Raider"},{"people_id":"452802","membership_id":"2776722","first_name":"Vijin","last_name":"Thangadurai","match_name":"V. Thangadurai","common_name":"Vijin Thangadurai","date_of_birth":"1990-05-20","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Defender - Right Cover"},{"people_id":"282525","membership_id":"2776727","first_name":"Baldev","last_name":"Singh","match_name":"B. Singh","common_name":"Baldev Singh","date_of_birth":"1993-05-27","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Defender - Right Corner"},{"people_id":"285886","membership_id":"2828072","first_name":"Adarsh","last_name":"T","match_name":"Adarsh T","common_name":"Adarsh T","date_of_birth":"","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Defender - Left Corner"},{"people_id":"329328","membership_id":"3187503","first_name":"","last_name":"Sahil","match_name":"Sahil","common_name":"Sahil","date_of_birth":"","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Defender - Right Cover"},{"people_id":"329336","membership_id":"3187513","first_name":"Mohammad Esmaeil","last_name":"Nabibakhsh","match_name":"M. Nabibakhsh","common_name":"Mohammad Nabibakhsh","date_of_birth":"","place_of_birth":"","country_of_birth":"Iran","nationality":"Iran","position":"All Rounder"},{"people_id":"450509","membership_id":"3187514","first_name":"K.","last_name":"Prapanjan","match_name":"K. Prapanjan","common_name":"K. Prapanjan","date_of_birth":"1993-05-29","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Raider"},{"people_id":"450501","membership_id":"3187515","first_name":"Jeeva","last_name":"Kumar","match_name":"J. Kumar","common_name":"Jeeva Kumar","date_of_birth":"1981-01-06","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Defender - R\/L Cover"},{"people_id":"450542","membership_id":"3187519","first_name":"Sukesh","last_name":"Hegde","match_name":"S. Hegde","common_name":"Sukesh Hegde","date_of_birth":"1989-10-02","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Raider"},{"people_id":"329351","membership_id":"3187533","first_name":"Amit","last_name":"Kumar","match_name":"Amit","common_name":"Amit","date_of_birth":"1998-12-12","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Defender - Right Corner"},{"people_id":"329354","membership_id":"3187535","first_name":"Mohammad","last_name":"Taghi Paein Mahali","match_name":"Mohammad Taghi","common_name":"Mohammad Taghi","date_of_birth":"1991-10-21","place_of_birth":"","country_of_birth":"Iran","nationality":"Iran","position":"Raider"},{"people_id":"329355","membership_id":"3187536","first_name":"Amir","last_name":"Santosh Dhumal","match_name":"Amir Dhumal","common_name":"Amir Dhumal","date_of_birth":"1991-12-16","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"All Rounder"},{"people_id":"329356","membership_id":"3187537","first_name":"A.R.","last_name":"Avinash","match_name":"A.R. Avinash","common_name":"Avinash","date_of_birth":"","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"All Rounder"},{"people_id":"282668","membership_id":"3187538","first_name":"Bhuvneshwar","last_name":"Gaur","match_name":"B. Gaur","common_name":"Bhuvneshwar Gaur","date_of_birth":"1999-06-11","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Raider"},{"people_id":"190138","membership_id":"3187539","first_name":"Viraj Vishnu","last_name":"Landge","match_name":"V. Landge","common_name":"Viraj Vishnu Landge","date_of_birth":"","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Defender - Left Cover"},{"people_id":"329357","membership_id":"3187540","first_name":"Dharmendra","last_name":"Singh","match_name":"Dharmendra Singh","common_name":"Dharmendra Singh","date_of_birth":"1994-02-03","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Defender - Left Corner"},{"people_id":"329482","membership_id":"3188330","first_name":"Naveen","last_name":"Narwal","match_name":"Naveen Narwal","common_name":"Naveen Narwal","date_of_birth":"","place_of_birth":"","country_of_birth":"India","nationality":"India","position":"Defender - Right Cover"}],"staff":[]}}}