No Subscription to this function
GET /kabaddi/get_team
Returns a list of team details selected from team or season
Request URL
https://dsg-api.com/clients/{client_name}/kabaddi/get_team?team={team_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)
team
int Required
team id to get details from
Nodes
match
Details about next matches of the particular team
attendance
amount of people that attended the particular match
competition_id
unique identifier for a competition.
competition_name
name of the competition.
date
Date of match, format 'yyyy-mm-dd' (CET)
date_utc
Date of match, format 'yyyy-mm-dd' (UTC)
final_period
display the period in which the match finished. ('soc_p2s','soc_ets','soc_pen')
gameweek
contains the gameweek a match belongs to.
match_id
unique identifier of match.
p1s_a
half-time score of home team.
p1s_b
half-time score of away team.
p2s_a
2nd half score of home team
p2s_b
2nd half score of away team
round_id
unique identifier of round
score_a
full-time score of home team, including any goals in extra-time
score_b
full-time score of home team, including any goals in extra-time
season_id
unique identifier of season
status
status of the game (Playing, Break, Played, Fixture, Postponed, Awarded, Cancelled, Suspended)
team_a_country
three-letter-acronym of the area where the home team origins.
team_a_id
unique team ID for the home team.
team_a_logo
URL to the team logo
team_a_name
current name of the home team.
team_a_original_name
the real name at the particular season (so can differ to current name)
team_a_short_name
short name of the home team.
team_a_tla_name
three-letter-acronym of the home team.
team_b_country
three-letter-acronym of the area where the home team origins.
team_b_id
unique team ID for the away team.
team_b_logo
URL to the team logo
team_b_name
current name of the away team.
team_b_original_name
the real name at the particular season (so can differ to current name)
team_b_short_name
short name of the away team.
team_b_tla_name
three-letter-acronym of the away team.
time
start time (CET), format 'hh:mm:ss'.
time_utc
start time (UTC), format 'hh:mm:ss'.
venue_city
city where the venue is based
venue_id
unique identifier of the venue
venue_name
current name of the venue
venue_type
determines if the match is on neutral ground or on home/away basis
winner
determines the winner of match ('team_A','team_B','draw','yet unknown')
method
details about the API function
method_id
unique ID of method.
name
name of method.
related_team
Details about related teams
order
can be used to order the related teams (ascending)
team_id
unique team ID for the team
team_name
current name of the team.
type
type of relation to the main team (reserve, youth, women, related)
team
Basic details about a team
area_id
Unique identifier for area.
area_name
name of area the team is located
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
short name of the team.
status
The current status of the team ('active' or 'defunct')
team_id
unique team ID for the team.
team_name
current name of the team.
tla_name
three letter acronym for this team
type
Determines the type of team ('national' or 'club')
team_extra
Extra details about a team
adress
Name of street and street number
adress_city
Name of the city
adress_zip
ZIP code
club_colors
Original colors of club (seperated with / )
email
Official e-mail address.
fax
Fax number
founded
Year club was founded. Format 'yyyy'
nicknames
nickname of the club. Can contain until 3 different ones seperated with a "/"
official_name
The official name of a team
primary_venue_id
venue_id of the home venue or primary used one for the particular team
primary_venue_name
venue name of the home venue or primary used one for the particular team
team_logo
full path URL of team logo
tel
Telephone number
website
Official website address (URL).
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_team?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_team?team={team_id}&client={client_name}&authkey={client_authkey}"
response = requests.get("https://dsg-api.com/clients/{client_name}/kabaddi/get_team?team={team_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":"130","name":"get_team"},"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","team_extra":{"adress":"","adress_zip":"","adress_city":"Kolkata, West Bengal","tel":"","fax":"","website":"http:\/\/bengalwarriors.com","email":"","official_name":"","founded":"2014","club_colors":"","team_logo":"https:\/\/www.dsg-images.com\/clubs\/200x200\/30823.png","nicknames":"","primary_venue_id":"8617","primary_venue_name":"Rajiv Gandhi Indoor Stadium"},"team_social_media":{"facebook":"","twitter":"","youtube":"","google_plus":"","instagram":"","vk":""},"last_matches":{"match":[{"match_id":"1428795","date":"2018-12-27","time":"16:30:00","date_utc":"2018-12-27","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\/200x200\/30823.png","team_b_id":"31331","team_b_name":"UP Yoddha","team_b_short_name":"UP Yoddha","team_b_tla_name":"UPY","team_b_original_name":"UP Yoddha","team_b_country":"IND","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/200x200\/31331.png","status":"Played","gameweek":"","winner":"team_B","score_a":"25","score_b":"41","p1s_a":"25","p1s_b":"41","p2s_a":"25","p2s_b":"41","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","competition_id":"1259","competition_name":"Pro Kabaddi League","season_id":"18005","round_id":"23892","last_updated":"2018-12-27 17:50:32"},{"match_id":"1500212","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\/200x200\/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\/200x200\/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","competition_id":"1259","competition_name":"Pro Kabaddi League","season_id":"18005","round_id":"23894","last_updated":"2018-12-30 17:56:02"},{"match_id":"1661145","date":"2019-07-24","time":"16:00:00","date_utc":"2019-07-24","time_utc":"14:00:00","team_a_id":"31331","team_a_name":"UP Yoddha","team_a_short_name":"UP Yoddha","team_a_tla_name":"UPY","team_a_original_name":"UP Yoddha","team_a_country":"IND","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/200x200\/31331.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\/200x200\/30823.png","status":"Played","gameweek":"1","winner":"team_B","score_a":"17","score_b":"48","p1s_a":"17","p1s_b":"48","p2s_a":"17","p2s_b":"48","ets_a":"","ets_b":"","venue_type":"home_away","final_period":"kab_p2s","attendance":"","venue_id":"8618","venue_name":"Gachibowli Indoor Stadium","venue_city":"Hyderabad","competition_id":"1259","competition_name":"VIVO Pro Kabaddi League","season_id":"22192","round_id":"33139","last_updated":"2019-07-24 17:00:02"},{"match_id":"1661151","date":"2019-07-27","time":"17:00:00","date_utc":"2019-07-27","time_utc":"15:00:00","team_a_id":"30826","team_a_name":"Jaipur Pink Panthers","team_a_short_name":"Jaipur PP","team_a_tla_name":"JPP","team_a_original_name":"Jaipur Pink Panthers","team_a_country":"IND","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/200x200\/30826.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\/200x200\/30823.png","status":"Played","gameweek":"2","winner":"team_A","score_a":"27","score_b":"25","p1s_a":"27","p1s_b":"25","p2s_a":"27","p2s_b":"25","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","competition_id":"1259","competition_name":"VIVO Pro Kabaddi League","season_id":"22192","round_id":"33139","last_updated":"2019-07-27 18:19:02"},{"match_id":"1661155","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\/200x200\/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\/200x200\/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","competition_id":"1259","competition_name":"VIVO Pro Kabaddi League","season_id":"22192","round_id":"33139","last_updated":"2019-07-29 18:18:03"},{"match_id":"1661162","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\/200x200\/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\/200x200\/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","competition_id":"1259","competition_name":"VIVO Pro Kabaddi League","season_id":"22192","round_id":"33139","last_updated":"2019-08-03 18:14:01"}]},"next_matches":{"match":[{"match_id":"1661170","date":"2019-08-09","time":"16:00:00","date_utc":"2019-08-09","time_utc":"14: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\/200x200\/30823.png","team_b_id":"30830","team_b_name":"U Mumba","team_b_short_name":"U Mumba","team_b_tla_name":"MUM","team_b_original_name":"U Mumba","team_b_country":"IND","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/200x200\/30830.png","status":"Fixture","gameweek":"3","winner":"yet unknown","score_a":"","score_b":"","p1s_a":"","p1s_b":"","p2s_a":"","p2s_b":"","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","competition_id":"1259","competition_name":"VIVO Pro Kabaddi League","season_id":"22192","round_id":"33139","last_updated":"2019-07-01 09:14:46"},{"match_id":"1661176","date":"2019-08-12","time":"16:00:00","date_utc":"2019-08-12","time_utc":"14: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\/200x200\/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\/200x200\/30829.png","status":"Fixture","gameweek":"4","winner":"yet unknown","score_a":"","score_b":"","p1s_a":"","p1s_b":"","p2s_a":"","p2s_b":"","ets_a":"","ets_b":"","venue_type":"home_away","final_period":"kab_p2s","attendance":"","venue_id":"8676","venue_name":"The Arena","venue_city":"Ahmedabad, Gujarat","competition_id":"1259","competition_name":"VIVO Pro Kabaddi League","season_id":"22192","round_id":"33139","last_updated":"2019-07-01 09:14:46"},{"match_id":"1661179","date":"2019-08-14","time":"17:00:00","date_utc":"2019-08-14","time_utc":"15:00:00","team_a_id":"31328","team_a_name":"Gujarat FortuneGiants","team_a_short_name":"Gujarat","team_a_tla_name":"GFG","team_a_original_name":"Gujarat FortuneGiants","team_a_country":"IND","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/200x200\/31328.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\/200x200\/30823.png","status":"Fixture","gameweek":"4","winner":"yet unknown","score_a":"","score_b":"","p1s_a":"","p1s_b":"","p2s_a":"","p2s_b":"","ets_a":"","ets_b":"","venue_type":"home_away","final_period":"kab_p2s","attendance":"","venue_id":"8676","venue_name":"The Arena","venue_city":"Ahmedabad, Gujarat","competition_id":"1259","competition_name":"VIVO Pro Kabaddi League","season_id":"22192","round_id":"33139","last_updated":"2019-07-01 09:14:46"},{"match_id":"1661184","date":"2019-08-17","time":"17:00:00","date_utc":"2019-08-17","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\/200x200\/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\/200x200\/30825.png","status":"Fixture","gameweek":"5","winner":"yet unknown","score_a":"","score_b":"","p1s_a":"","p1s_b":"","p2s_a":"","p2s_b":"","ets_a":"","ets_b":"","venue_type":"home_away","final_period":"kab_p2s","attendance":"","venue_id":"11711","venue_name":"Jawaharlal Nehru Indoor Stadium","venue_city":"Chennai, Tamil Nadu","competition_id":"1259","competition_name":"VIVO Pro Kabaddi League","season_id":"22192","round_id":"33139","last_updated":"2019-07-01 09:17:20"},{"match_id":"1661191","date":"2019-08-22","time":"16:00:00","date_utc":"2019-08-22","time_utc":"14: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\/200x200\/30823.png","team_b_id":"30827","team_b_name":"Patna Pirates","team_b_short_name":"Patna Pirates","team_b_tla_name":"PTP","team_b_original_name":"Patna Pirates","team_b_country":"IND","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/200x200\/30827.png","status":"Fixture","gameweek":"5","winner":"yet unknown","score_a":"","score_b":"","p1s_a":"","p1s_b":"","p2s_a":"","p2s_b":"","ets_a":"","ets_b":"","venue_type":"home_away","final_period":"kab_p2s","attendance":"","venue_id":"11711","venue_name":"Jawaharlal Nehru Indoor Stadium","venue_city":"Chennai, Tamil Nadu","competition_id":"1259","competition_name":"VIVO Pro Kabaddi League","season_id":"22192","round_id":"33139","last_updated":"2019-07-01 09:17:20"},{"match_id":"1661198","date":"2019-08-26","time":"16:00:00","date_utc":"2019-08-26","time_utc":"14: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\/200x200\/30823.png","team_b_id":"30831","team_b_name":"Haryana Steelers","team_b_short_name":"Haryana","team_b_tla_name":"HRY","team_b_original_name":"Haryana Steelers","team_b_country":"IND","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/200x200\/30831.png","status":"Fixture","gameweek":"6","winner":"yet unknown","score_a":"","score_b":"","p1s_a":"","p1s_b":"","p2s_a":"","p2s_b":"","ets_a":"","ets_b":"","venue_type":"home_away","final_period":"kab_p2s","attendance":"","venue_id":"8615","venue_name":"Thyagaraj Sports Complex","venue_city":"New Delhi, Delhi","competition_id":"1259","competition_name":"VIVO Pro Kabaddi League","season_id":"22192","round_id":"33139","last_updated":"2019-07-01 09:17:20"}]}}}}