No Subscription to this function
GET /kabaddi/get_peoples
Returns person informations and list of teams the person were member of.
Request URL
https://dsg-api.com/clients/{client_name}/kabaddi/get_peoples?id={people_id}&client={client_name}&authkey={client_authkey}
Parameters
authkey
string Required
client authentification key
ftype
string
changes feed type from XML to json (ftype=json)
id
int Required
player id to return
lang
string
two-character language code, defaults to 'en'
Nodes
membership
Membership handles the relation from a person to a team
active
Determines if person is still at the team ('yes') or not ('no').
end_date
End date of membership, format 'yyyy-mm-dd'.
last_updated
When record was last updated. Format YYYY-MM-DD HH:MM:SS. CET timezone.
membership_id
Unique identifier for the membership
role
type of role ('player', 'coach' or 'assistant_coach', 'goalkeeper_coach', 'local_coach', 'scout', 'sporting director')
short_name
short name of the team.
start_date
Start date of membership, format 'yyyy-mm-dd'.
team_area
area name where team is located
team_area_id
unique identifier for an area
team_id
Unique identifier for team
team_name
current team name
type
type of the team ('club', 'national' or 'selection')
method
details about the API function
method_id
unique ID of method.
name
name of method.
people
Basic information about the person
common_name
common name of the person
country_of_birth
name of the country the person was born
date_of_birth
birth 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
match_name
shortened match name of the person
nationality
current nationality of the person
people_id
unique identifier for person
place_of_birth
name of city the person was born
player_picture
full path URL of player headshot, size can be changed via the picsize parameter
position
position of the player
shoots
shooting style of the player (left or right)
weight
Weight of person in kilograms.
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}/kabaddi/get_peoples?id={people_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_peoples?id={people_id}&client={client_name}&authkey={client_authkey}"
response = requests.get("https://dsg-api.com/clients/{client_name}/kabaddi/get_peoples?id={people_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":"93","name":"get_peoples"},"people":{"people_id":"452854","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","gender":"male","height":"174","weight":"68","position":"Raider","player_picture":"","career_summary":{"main_club_career":{"appearances":"18","lineup":"13","substitutes_in":"5","substitutes_out":"7","subs_on_bench":"12","points":"47","touch_points":"36","bonus_points":"5","raid_points":"41","tackle_points":"6","tackles":"20","succesful_tackles":"6","unsuccesful_tackles":"14","super_tackles":"0","super10":"0","raids":"106","empty_raids":"47","successful_raids":"34","unsuccessful_raids":"26","green_cards":"0","yellow_cards":"0","red_cards":"0","competition":{"competition_id":"1259","competition_name":"Pro Kabaddi League","comp_area_id":"94","comp_format":"domestic_league","appearances":"18","lineup":"13","substitutes_in":"5","substitutes_out":"7","subs_on_bench":"12","points":"47","touch_points":"36","bonus_points":"5","raid_points":"41","tackle_points":"6","tackles":"20","succesful_tackles":"6","unsuccesful_tackles":"14","super_tackles":"0","super10":"0","raids":"106","empty_raids":"47","successful_raids":"34","unsuccessful_raids":"26","green_cards":"0","yellow_cards":"0","red_cards":"0"}},"youth_club_career":[],"main_national_team_career":[],"youth_national_team_career":[]},"membership":{"membership_id":"1284797","team_id":"30823","team_name":"Bengal Warriors","short_name":"Bengal Warrior","team_area":"India","type":"club","start_date":"2016-07-07","end_date":"","role":"player","active":"yes","last_updated":"2017-06-16 17:21:28","season_statistic":[{"season_id":"18005","title":"Season 6","competition_name":"Pro Kabaddi League","original_name":"Pro Kabaddi League","comp_area_id":"94","comp_format":"domestic_league","appearances":"14","substitutes_in":"2","substitutes_out":"7","subs_on_bench":"0","lineup":"12","points":"42","touch_points":"32","bonus_points":"5","raid_points":"37","tackle_points":"5","tackles":"18","succesful_tackles":"5","unsuccesful_tackles":"13","super_tackles":"0","super10":"0","raids":"91","empty_raids":"42","unsuccessful_raids":"20","successful_raids":"30","yellow_cards":"0","green_cards":"0","red_cards":"0","shirtnumber":"7","last_updated":"2019-05-05 15:36:00"},{"season_id":"13286","title":"Season 5","competition_name":"Pro Kabaddi League","original_name":"Pro Kabaddi League","comp_area_id":"94","comp_format":"domestic_league","appearances":"2","substitutes_in":"1","substitutes_out":"0","subs_on_bench":"6","lineup":"1","points":"2","touch_points":"2","bonus_points":"0","raid_points":"2","tackle_points":"0","tackles":"1","succesful_tackles":"0","unsuccesful_tackles":"1","super_tackles":"0","super10":"0","raids":"7","empty_raids":"2","unsuccessful_raids":"3","successful_raids":"2","yellow_cards":"0","green_cards":"0","red_cards":"0","shirtnumber":"3","last_updated":"2018-11-22 17:28:14"},{"season_id":"13287","title":"Season 4","competition_name":"Pro Kabaddi League","original_name":"Pro Kabaddi League","comp_area_id":"94","comp_format":"domestic_league","appearances":"2","substitutes_in":"2","substitutes_out":"0","subs_on_bench":"6","lineup":"0","points":"3","touch_points":"2","bonus_points":"0","raid_points":"2","tackle_points":"1","tackles":"1","succesful_tackles":"1","unsuccesful_tackles":"0","super_tackles":"0","super10":"0","raids":"8","empty_raids":"3","unsuccessful_raids":"3","successful_raids":"2","yellow_cards":"0","green_cards":"0","red_cards":"0","shirtnumber":"3","last_updated":"2018-11-22 17:28:23"}]},"last_matches":{"match":[{"match_id":"1493693","competition_id":"1259","season_id":"18005","round_id":"23892","date":"2018-12-23","time":"15:30:00","date_utc":"2018-12-23","time_utc":"14:30:00","team_a_id":"30823","team_a_name":"Bengal Warriors","team_a_short_name":"Bengal Warrior","team_a_tla_name":"BEN","team_a_original_name":"Bengal Warriors","team_a_country":"IND","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/30823.png","team_b_id":"30825","team_b_name":"Dabang Delhi K.C.","team_b_short_name":"Dabang Delhi","team_b_tla_name":"DBD","team_b_original_name":"Dabang Delhi K.C.","team_b_country":"IND","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/30825.png","status":"Played","gameweek":"","winner":"team_B","score_a":"31","score_b":"37","p1s_a":"28","p1s_b":"31","p2s_a":"31","p2s_b":"37","ets_a":"","ets_b":"","venue_type":"home_away","final_period":"kab_p2s","attendance":"","venue_id":"8612","venue_name":"Netaji Subhash Chandra Bose Indoor Stadium","venue_city":"Kolkata, West Bengal","last_updated":"2018-12-23 16:50:32"},{"match_id":"1428791","competition_id":"1259","season_id":"18005","round_id":"23892","date":"2018-12-25","time":"16:30:00","date_utc":"2018-12-25","time_utc":"15:30:00","team_a_id":"30823","team_a_name":"Bengal Warriors","team_a_short_name":"Bengal Warrior","team_a_tla_name":"BEN","team_a_original_name":"Bengal Warriors","team_a_country":"IND","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/30823.png","team_b_id":"30829","team_b_name":"Telugu Titans","team_b_short_name":"Telugu Titans","team_b_tla_name":"TLT","team_b_original_name":"Telugu Titans","team_b_country":"IND","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/30829.png","status":"Played","gameweek":"","winner":"team_A","score_a":"39","score_b":"34","p1s_a":"37","p1s_b":"33","p2s_a":"39","p2s_b":"34","ets_a":"","ets_b":"","venue_type":"home_away","final_period":"kab_p2s","attendance":"","venue_id":"8612","venue_name":"Netaji Subhash Chandra Bose Indoor Stadium","venue_city":"Kolkata, West Bengal","last_updated":"2018-12-25 18:01:02"},{"match_id":"1428793","competition_id":"1259","season_id":"18005","round_id":"23892","date":"2018-12-26","time":"16:30:00","date_utc":"2018-12-26","time_utc":"15:30:00","team_a_id":"30823","team_a_name":"Bengal Warriors","team_a_short_name":"Bengal Warrior","team_a_tla_name":"BEN","team_a_original_name":"Bengal Warriors","team_a_country":"IND","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/30823.png","team_b_id":"30824","team_b_name":"Bengaluru Bulls","team_b_short_name":"Bengaluru","team_b_tla_name":"BGB","team_b_original_name":"Bengaluru Bulls","team_b_country":"IND","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/30824.png","status":"Played","gameweek":"","winner":"team_A","score_a":"37","score_b":"31","p1s_a":"37","p1s_b":"31","p2s_a":"37","p2s_b":"31","ets_a":"","ets_b":"","venue_type":"home_away","final_period":"kab_p2s","attendance":"","venue_id":"8612","venue_name":"Netaji Subhash Chandra Bose Indoor Stadium","venue_city":"Kolkata, West Bengal","last_updated":"2018-12-26 18:07:32"},{"match_id":"1500212","competition_id":"1259","season_id":"18005","round_id":"23894","date":"2018-12-30","time":"16:30:00","date_utc":"2018-12-30","time_utc":"15:30:00","team_a_id":"30825","team_a_name":"Dabang Delhi K.C.","team_a_short_name":"Dabang Delhi","team_a_tla_name":"DBD","team_a_original_name":"Dabang Delhi K.C.","team_a_country":"IND","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/30825.png","team_b_id":"30823","team_b_name":"Bengal Warriors","team_b_short_name":"Bengal Warrior","team_b_tla_name":"BEN","team_b_original_name":"Bengal Warriors","team_b_country":"IND","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/30823.png","status":"Played","gameweek":"","winner":"team_A","score_a":"39","score_b":"28","p1s_a":"39","p1s_b":"28","p2s_a":"39","p2s_b":"28","ets_a":"","ets_b":"","venue_type":"home_away","final_period":"kab_p2s","attendance":"","venue_id":"8617","venue_name":"Rajiv Gandhi Indoor Stadium","venue_city":"Visakhapatnam","last_updated":"2018-12-30 17:56:02"},{"match_id":"1661155","competition_id":"1259","season_id":"22192","round_id":"33139","date":"2019-07-29","time":"17:00:00","date_utc":"2019-07-29","time_utc":"15:00:00","team_a_id":"30823","team_a_name":"Bengal Warriors","team_a_short_name":"Bengal Warrior","team_a_tla_name":"BEN","team_a_original_name":"Bengal Warriors","team_a_country":"IND","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/30823.png","team_b_id":"30828","team_b_name":"Puneri Paltan","team_b_short_name":"Puneri Paltan","team_b_tla_name":"PNP","team_b_original_name":"Puneri Paltan","team_b_country":"IND","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/30828.png","status":"Played","gameweek":"2","winner":"team_A","score_a":"43","score_b":"23","p1s_a":"43","p1s_b":"23","p2s_a":"43","p2s_b":"23","ets_a":"","ets_b":"","venue_type":"home_away","final_period":"kab_p2s","attendance":"","venue_id":"8422","venue_name":"DOME@NSCI SVP Stadium","venue_city":"Mumbai, Maharashtra","last_updated":"2019-07-29 18:18:03"},{"match_id":"1661162","competition_id":"1259","season_id":"22192","round_id":"33139","date":"2019-08-03","time":"17:00:00","date_utc":"2019-08-03","time_utc":"15:00:00","team_a_id":"30823","team_a_name":"Bengal Warriors","team_a_short_name":"Bengal Warrior","team_a_tla_name":"BEN","team_a_original_name":"Bengal Warriors","team_a_country":"IND","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/30823.png","team_b_id":"30824","team_b_name":"Bengaluru Bulls","team_b_short_name":"Bengaluru","team_b_tla_name":"BGB","team_b_original_name":"Bengaluru Bulls","team_b_country":"IND","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/30824.png","status":"Played","gameweek":"3","winner":"team_B","score_a":"42","score_b":"43","p1s_a":"42","p1s_b":"43","p2s_a":"42","p2s_b":"43","ets_a":"","ets_b":"","venue_type":"home_away","final_period":"kab_p2s","attendance":"","venue_id":"8617","venue_name":"Rajiv Gandhi Indoor Stadium","venue_city":"Visakhapatnam","last_updated":"2019-08-03 18:14:01"}]}}}}