Subscription to this function is not available for your account. To upgrade and receive access to this contact sales@datasportsgroup.com
v2 GET /ice_hockey/get_peoples
Returns person informations and list of teams the person were member of.
Request URL
https://dsg-api.com/clients/{client_name}/ice_hockey/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
competition
details about the competition
competition_id
unique identifier for a competition
competition_name
name of the competition
competition_statistic
ice hockey player statistics per competition
appearances
value of the particular stat
assists
number of assists
competition_id
unique identifier for a competition
competition_name
name of the competition
comp_area_id
unique identifier for competition area
comp_format
competition format to filter out leagues or cups
goals
value of the particular stat
penalty_minutes
number of penalty minutes
points
value of the particular stat
power_play_goals
number of power play goals
short_handed_goals
number of short-handed goals
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
main_club_career
ice hockey player statistics in all club competitions
appearances
value of the particular stat
assists
number of assists
goals
value of the particular stat
penalty_minutes
number of penalty minutes
points
value of the particular stat
power_play_goals
number of power play goals
short_handed_goals
number of short-handed goals
main_national_team_career
ice hockey player statistics in all national team competitions
appearances
value of the particular stat
assists
number of assists
goals
value of the particular stat
penalty_minutes
number of penalty minutes
points
value of the particular stat
power_play_goals
number of power play goals
short_handed_goals
number of short-handed goals
match
details about the match
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.
last_updated
When record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
match_id
unique identifier of match
score_a
full-time score of team_a
score_b
full-time score of team_b
status
status of the game
team_a_area_code
three-letter-acronym of the area where the home team origins
team_a_area_id
unique area_id for team_a
team_a_area_name
area name of home team origins county
team_a_id
unique team ID for team_a
team_a_logo
team logo URL
team_a_name
current name of team_a
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 team_a
team_b_area_code
three-letter-acronym of the area where the home team origins
team_b_area_id
unique area_id for team_b
team_b_area_name
area name of away team origins county
team_b_id
unique team ID for team_b
team_b_logo
team logo URL
team_b_name
current name of team_b
team_b_original_name
the real name at the particular season (so can differ to current name)
team_b_short_name
short name of team_b
team_b_tla_name
three-letter-acronym of team_b
time
start time (CET), format 'hh:mm:ss'.
time_utc
start time (UTC), format 'hh:mm:ss'
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')
match_extra
extra informations about the match
attendance
amount of people that attended the particular match
gameweek
contains the gameweek a match belongs to.
membership
details about the membership (membership = relation between player and 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 in 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
shortened name of the person
start_date
start date, format 'yyyy-mm-dd'
team_area_id
unique identifier for an area
team_area_name
area name of the team
team_id
unique identifier of the 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
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_birth
birth date of the person
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.
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
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 (hockey, ice hockey, water polo)
position
position value
shoots
shooting style of the player (left or right)
period
details about periods of the match
score_a
period score of team_a
score_b
period score of team_b
type
three-letter-acronym of the period
round
basic details about the updated round
round_id
unique identifier of round
round_name
name of the round
season
details about the updated season
season_id
unique identifier for season
season_name
name of the competition for this particular season (including sponsor names etc)
season_title
title of season
season_statistic
player statistics per season (ice hockey)
appearances
value of the particular stat
assists
number of assists
competition_name
name of the competition
comp_area_id
unique identifier for competition area
comp_format
competition format to filter out leagues or cups
goals
value of the particular stat
last_updated
When record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
original_name
competition name during this season
penalty_minutes
number of penalty minutes
points
value of the particular stat
power_play_goals
number of power play goals
season_id
unique identifier for season
shirtnumber
shirtnumber value
short_handed_goals
number of short-handed goals
start_date
start date, format 'yyyy-mm-dd'
title
title of season
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
venue
basic details about the venue
venue_area_id
unique identifier for an area
venue_area_name
name of the area
venue_city
city where the venue is based
venue_id
unique identifier of the venue
venue_name
current name of the venue
youth_club_career
player statistics in all youth club competitions (ice hockey)
appearances
value of the particular stat
assists
number of assists
goals
value of the particular stat
penalty_minutes
number of penalty minutes
points
value of the particular stat
power_play_goals
number of power play goals
short_handed_goals
number of short-handed goals
youth_national_team_career
player statistics in all youth club competitions (ice hockey)
appearances
value of the particular stat
assists
number of assists
goals
value of the particular stat
penalty_minutes
number of penalty minutes
points
value of the particular stat
power_play_goals
number of power play goals
short_handed_goals
number of short-handed goals
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}/ice_hockey/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}/ice_hockey/get_peoples?id={people_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}/ice_hockey/get_peoples?id={people_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}/ice_hockey/get_peoples?id={people_id}&client={client_name}&authkey={client_authkey}", auth=("User", "Password"))
Response Example
200 Success
{"datasportsgroup":{"version":"1.0","sport":"ice_hockey","lang":"en","method":{"method_id":"82","name":"get_peoples"},"people":{"people_id":"354971","first_name":"Dmitry","last_name":"Buinitsky","match_name":"D. Buinitsky","common_name":"Dmitry Buinitsky","date_of_birth":"1997-03-01","place_of_birth":"Vitebsk","country_of_birth":"Belarus","nationality":"Belarus","gender":"male","height":"184","weight":"78","shoots":"","position":"Forward","player_picture":"https:\/\/www.dsg-images.com\/players\/150x150\/354971.png","membership":{"membership_id":"483577","team_id":"25571","team_name":"HC Dinamo Minsk","short_name":"Dinamo Minsk","team_area":"Belarus","type":"club","start_date":"2015-01-01","end_date":"","role":"player","active":"yes","last_updated":"2017-08-23 17:45:43"},"last_matches":{"match":[{"match_id":"1421113","competition_id":"975","season_id":"17941","round_id":"23640","date":"2018-12-24","time":"15:00:00","date_utc":"2018-12-24","time_utc":"14:00:00","team_a_id":"25571","team_a_name":"HC Dinamo Minsk","team_a_short_name":"Dinamo Minsk","team_a_tla_name":"DIN","team_a_original_name":"HC Dinamo Minsk","team_a_country":"BLR","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/25571.png","team_b_id":"25585","team_b_name":"AK Bars Kazan","team_b_short_name":"AK Bars Kazan","team_b_tla_name":"AKB","team_b_original_name":"AK Bars Kazan","team_b_country":"RUS","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/25585.png","status":"Played","gameweek":"","winner":"team_A","score_a":"3","score_b":"2","p1s_a":"2","p1s_b":"0","p2s_a":"0","p2s_b":"0","p3s_a":"1","p3s_b":"2","ot_a":"","ot_b":"","so_a":"","so_b":"","venue_type":"home_away","final_period":"ice_p3s","attendance":"12129","venue_id":"9177","venue_name":"Minsk-Arena","venue_city":"Minsk","last_updated":"2019-01-17 23:58:12"},{"match_id":"1421118","competition_id":"975","season_id":"17941","round_id":"23640","date":"2018-12-26","time":"15:00:00","date_utc":"2018-12-26","time_utc":"14:00:00","team_a_id":"25590","team_a_name":"Traktor Chelyabinsk","team_a_short_name":"Traktor","team_a_tla_name":"TRA","team_a_original_name":"Traktor Chelyabinsk","team_a_country":"RUS","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/25590.png","team_b_id":"25571","team_b_name":"HC Dinamo Minsk","team_b_short_name":"Dinamo Minsk","team_b_tla_name":"DIN","team_b_original_name":"HC Dinamo Minsk","team_b_country":"BLR","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/25571.png","status":"Played","gameweek":"","winner":"team_A","score_a":"2","score_b":"1","p1s_a":"0","p1s_b":"0","p2s_a":"1","p2s_b":"1","p3s_a":"1","p3s_b":"0","ot_a":"","ot_b":"","so_a":"","so_b":"","venue_type":"home_away","final_period":"ice_p3s","attendance":"6975","venue_id":"9187","venue_name":"Traktor Arena","venue_city":"Chelyabinsk","last_updated":"2018-12-26 22:58:08"},{"match_id":"1421127","competition_id":"975","season_id":"17941","round_id":"23640","date":"2018-12-28","time":"15:00:00","date_utc":"2018-12-28","time_utc":"14:00:00","team_a_id":"25586","team_a_name":"Avtomobilist Yekaterinburg","team_a_short_name":"Avtomobilist","team_a_tla_name":"AVT","team_a_original_name":"Avtomobilist Yekaterinburg","team_a_country":"RUS","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/25586.png","team_b_id":"25571","team_b_name":"HC Dinamo Minsk","team_b_short_name":"Dinamo Minsk","team_b_tla_name":"DIN","team_b_original_name":"HC Dinamo Minsk","team_b_country":"BLR","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/25571.png","status":"Played","gameweek":"","winner":"team_A","score_a":"2","score_b":"1","p1s_a":"1","p1s_b":"1","p2s_a":"0","p2s_b":"0","p3s_a":"1","p3s_b":"0","ot_a":"","ot_b":"","so_a":"","so_b":"","venue_type":"home_away","final_period":"ice_p3s","attendance":"5300","venue_id":"9185","venue_name":"Uralets","venue_city":"Yekaterinburg","last_updated":"2018-12-28 22:58:03"},{"match_id":"1421139","competition_id":"975","season_id":"17941","round_id":"23640","date":"2018-12-30","time":"15:00:00","date_utc":"2018-12-30","time_utc":"14:00:00","team_a_id":"25581","team_a_name":"Lokomotiv Yaroslavl","team_a_short_name":"Lok Yaroslavl","team_a_tla_name":"LOK","team_a_original_name":"Lokomotiv Yaroslavl","team_a_country":"RUS","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/25581.png","team_b_id":"25571","team_b_name":"HC Dinamo Minsk","team_b_short_name":"Dinamo Minsk","team_b_tla_name":"DIN","team_b_original_name":"HC Dinamo Minsk","team_b_country":"BLR","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/25571.png","status":"Played","gameweek":"","winner":"team_B","score_a":"0","score_b":"3","p1s_a":"0","p1s_b":"1","p2s_a":"0","p2s_b":"1","p3s_a":"0","p3s_b":"1","ot_a":"","ot_b":"","so_a":"","so_b":"","venue_type":"home_away","final_period":"ice_p3s","attendance":"8000","venue_id":"9191","venue_name":"Arena 2000 Lokomotiv","venue_city":"Yaroslavl","last_updated":"2018-12-30 22:58:06"},{"match_id":"1421154","competition_id":"975","season_id":"17941","round_id":"23640","date":"2019-01-04","time":"17:30:00","date_utc":"2019-01-04","time_utc":"16:30:00","team_a_id":"25571","team_a_name":"HC Dinamo Minsk","team_a_short_name":"Dinamo Minsk","team_a_tla_name":"DIN","team_a_original_name":"HC Dinamo Minsk","team_a_country":"BLR","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/25571.png","team_b_id":"25575","team_b_name":"SKA Saint Petersburg","team_b_short_name":"SKA","team_b_tla_name":"SKA","team_b_original_name":"SKA Saint Petersburg","team_b_country":"RUS","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/25575.png","status":"Played","gameweek":"","winner":"team_B","score_a":"0","score_b":"2","p1s_a":"0","p1s_b":"0","p2s_a":"0","p2s_b":"0","p3s_a":"0","p3s_b":"2","ot_a":"","ot_b":"","so_a":"","so_b":"","venue_type":"home_away","final_period":"ice_p3s","attendance":"15086","venue_id":"9177","venue_name":"Minsk-Arena","venue_city":"Minsk","last_updated":"2019-01-04 23:58:04"},{"match_id":"1421165","competition_id":"975","season_id":"17941","round_id":"23640","date":"2019-01-06","time":"15:00:00","date_utc":"2019-01-06","time_utc":"14:00:00","team_a_id":"25571","team_a_name":"HC Dinamo Minsk","team_a_short_name":"Dinamo Minsk","team_a_tla_name":"DIN","team_a_original_name":"HC Dinamo Minsk","team_a_country":"BLR","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/25571.png","team_b_id":"25578","team_b_name":"HC CSKA Moskva","team_b_short_name":"CSKA Moskva","team_b_tla_name":"CSK","team_b_original_name":"HC CSKA Moskva","team_b_country":"RUS","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/25578.png","status":"Played","gameweek":"","winner":"team_B","score_a":"1","score_b":"2","p1s_a":"0","p1s_b":"1","p2s_a":"0","p2s_b":"1","p3s_a":"1","p3s_b":"0","ot_a":"","ot_b":"","so_a":"","so_b":"","venue_type":"home_away","final_period":"ice_p3s","attendance":"14886","venue_id":"9177","venue_name":"Minsk-Arena","venue_city":"Minsk","last_updated":"2019-01-06 22:58:10"}]}}}}