Subscription to this function is not available for your account. To upgrade and receive access to this contact sales@datasportsgroup.com
v2 GET /field_hockey/get_peoples
Returns person informations and list of teams the person were member of.
Request URL
https://dsg-api.com/clients/{client_name}/field_hockey/get_peoples?id={people_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)
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
field hockey player statistics per competition
appearances
value of the particular stat
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
field_goals
number of field goals
goals
value of the particular stat
green_cards
number of green cards
lineups
number of lineups
penalty_corner_goals
number of penalty corners
penalty_strike_goals
number of penalty strike goals
red_cards
value of the particular stat
subs_on_bench
number of subs on bench
yellow_cards
number of yellow cards
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
field hockey player statistics in all club competitions
appearances
value of the particular stat
field_goals
number of field goals
goals
value of the particular stat
green_cards
number of green cards
lineups
number of lineups
penalty_corner_goals
number of penalty corners
penalty_strike_goals
number of penalty strike goals
red_cards
value of the particular stat
subs_on_bench
number of subs on bench
yellow_cards
number of yellow cards
main_national_team_career
field hockey player statistics in all national team competitions
appearances
value of the particular stat
field_goals
number of field goals
goals
value of the particular stat
green_cards
number of green cards
lineups
number of lineups
penalty_corner_goals
number of penalty corners
penalty_strike_goals
number of penalty strike goals
red_cards
value of the particular stat
subs_on_bench
number of subs on bench
yellow_cards
number of yellow cards
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 (Played, Playing, Fixture, Cancelled, Postponed, Suspended, Awarded, Break, Retired, Bye, No Contest, Disqualified, Tech Knockout, Knockout, Draw, Submission) + (Cricket-specific = No Result, Tea, Lunch, Dinner, between Innings, Stumps, rain delay, bad light, crowd trouble, pitch condition, start delay, drinks, super over, floodlight failure)
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 (home_away or neutral)
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 (field hockey)
appearances
value of the particular stat
competition_name
name of the competition
comp_area_id
unique identifier for competition area
comp_format
competition format to filter out leagues or cups
field_goals
number of field goals
goals
value of the particular stat
green_cards
number of green cards
last_updated
When record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
lineups
number of lineups
original_name
competition name during this season
penalty_corner_goals
number of penalty corners
penalty_strike_goals
number of penalty strike goals
red_cards
value of the particular stat
season_id
unique identifier for season
shirtnumber
shirtnumber value
start_date
start date, format 'yyyy-mm-dd'
subs_on_bench
number of subs on bench
title
title of season
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
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 (field hockey)
appearances
value of the particular stat
field_goals
number of field goals
goals
value of the particular stat
green_cards
number of green cards
lineups
number of lineups
penalty_corner_goals
number of penalty corners
penalty_strike_goals
number of penalty strike goals
red_cards
value of the particular stat
subs_on_bench
number of subs on bench
yellow_cards
number of yellow cards
youth_national_team_career
player statistics in all youth club competitions (field hockey)
appearances
value of the particular stat
field_goals
number of field goals
goals
value of the particular stat
green_cards
number of green cards
lineups
number of lineups
penalty_corner_goals
number of penalty corners
penalty_strike_goals
number of penalty strike goals
red_cards
value of the particular stat
subs_on_bench
number of subs on bench
yellow_cards
number of yellow cards
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}/field_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}/field_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}/field_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}/field_hockey/get_peoples?id={people_id}&client={client_name}&authkey={client_authkey}", auth=("User", "Password"))
Response Example
200 Success
{"datasportsgroup":{"version":"2.0","sport":"field_hockey","lang":"en","method":{"method_id":"201","name":"get_peoples"},"people":{"people_id":"259941","first_name":"Johan","last_name":"Durst","match_name":"J. Durst","common_name":"Johan Durst","date_of_birth":"1991-03-18","place_of_birth":"Canterbury, NSW","country_of_birth":"Australia","nationality":"Australia","gender":"male","height":"","weight":"","position":"Goalkeeper","player_picture":"https:\/\/www.dsg-images.com\/players\/150x150\/259941.png","career_summary":{"main_club_career":[],"youth_club_career":[],"main_national_team_career":{"appearances":"3","lineups":"0","subs_on_bench":"11","goals":"0","field_goals":"0","penalty_corners":"0","penalty_strike_goals":"0","green_cards":"0","yellow_cards":"0","red_cards":"0","competition":[{"competition_id":"2156","competition_name":"FIH Pro League","comp_area_id":"1","comp_format":"international_cup","appearances":"3","lineups":"0","subs_on_bench":"5","goals":"0","field_goals":"0","penalty_corners":"0","penalty_strike_goals":"0","green_cards":"0","yellow_cards":"0","red_cards":"0"},{"competition_id":"1958","competition_name":"Hockey Champions Trophy","comp_area_id":"1","comp_format":"international_cup","appearances":"0","lineups":"0","subs_on_bench":"6","goals":"0","field_goals":"0","penalty_corners":"0","penalty_strike_goals":"0","green_cards":"0","yellow_cards":"0","red_cards":"0"}]},"youth_national_team_career":[]},"trophies_team":{"competition":{"competition_id":"1958","title":"Hockey Champions Trophy","season":{"season_id":"16921","title":"2018 Netherlands","name":"Rabobank Hockey Champions Trophy"}}},"membership":{"membership_id":"2709247","team_id":"36640","team_name":"Australia","short_name":"Australia","team_area":"Australia","type":"national","start_date":"2018-06-01","end_date":"","role":"player","active":"yes","last_updated":"2019-02-02 13:44:12","season_statistic":[{"season_id":"20345","title":"2019","competition_name":"FIH Pro League","original_name":"FIH Pro League","comp_area_id":"1","comp_format":"international_cup","appearances":"3","subs_on_bench":"5","lineups":"0","goals":"0","field_goals":"0","penalty_corners":"0","penalty_strike_goals":"0","green_cards":"0","yellow_cards":"0","red_cards":"0","shirtnumber":"8","last_updated":"2019-03-09 12:00:03"},{"season_id":"16921","title":"2018 Netherlands","competition_name":"Hockey Champions Trophy","original_name":"Hockey Champions Trophy","comp_area_id":"1","comp_format":"international_cup","appearances":"0","subs_on_bench":"6","lineups":"0","goals":"0","field_goals":"0","penalty_corners":"0","penalty_strike_goals":"0","green_cards":"0","yellow_cards":"0","red_cards":"0","shirtnumber":"8","last_updated":"2018-12-03 14:09:24"}]},"last_matches":{"match":[{"match_id":"1362358","competition_id":"1958","season_id":"16921","round_id":"22623","date":"2018-07-01","time":"16:00:00","date_utc":"2018-07-01","time_utc":"14:00:00","team_a_id":"36640","team_a_name":"Australia","team_a_short_name":"Australia","team_a_tla_name":"AUS","team_a_original_name":"Australia","team_a_country":"AUS","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/36640.png","team_b_id":"36651","team_b_name":"India","team_b_short_name":"India","team_b_tla_name":"IND","team_b_original_name":"India","team_b_country":"IND","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/36651.png","status":"Played","gameweek":"","winner":"draw","score_a":"1","score_b":"1","p1s_a":"0","p1s_b":"0","p2s_a":"1","p2s_b":"0","et_a":"","et_b":"","pen_a":"3","pen_b":"1","venue_type":"home_away","final_period":"fhk_pen","attendance":"","venue_id":"12457","venue_name":"BH & BC Breda","venue_city":"Breda","last_updated":"2019-01-13 16:37:30"},{"match_id":"1520772","competition_id":"2156","season_id":"20345","round_id":"27674","date":"2019-02-02","time":"05:00:00","date_utc":"2019-02-02","time_utc":"04:00:00","team_a_id":"36640","team_a_name":"Australia","team_a_short_name":"Australia","team_a_tla_name":"AUS","team_a_original_name":"Australia","team_a_country":"AUS","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/36640.png","team_b_id":"36646","team_b_name":"Netherlands","team_b_short_name":"Netherlands","team_b_tla_name":"NED","team_b_original_name":"Netherlands","team_b_country":"NLD","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/36646.png","status":"Played","gameweek":"","winner":"team_B","score_a":"5","score_b":"5","p1s_a":"2","p1s_b":"1","p2s_a":"2","p2s_b":"1","et_a":"","et_b":"","pen_a":"1","pen_b":"4","venue_type":"home_away","final_period":"fhk_pen","attendance":"","venue_id":"13889","venue_name":"State Netball and Hockey Centre","venue_city":"Melbourne, VIC","last_updated":"2019-04-23 14:46:57"},{"match_id":"1520774","competition_id":"2156","season_id":"20345","round_id":"27674","date":"2019-02-03","time":"05:00:00","date_utc":"2019-02-03","time_utc":"04:00:00","team_a_id":"36640","team_a_name":"Australia","team_a_short_name":"Australia","team_a_tla_name":"AUS","team_a_original_name":"Australia","team_a_country":"AUS","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/36640.png","team_b_id":"36648","team_b_name":"Belgium","team_b_short_name":"Belgium","team_b_tla_name":"BEL","team_b_original_name":"Belgium","team_b_country":"BEL","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/36648.png","status":"Played","gameweek":"","winner":"team_B","score_a":"1","score_b":"4","p1s_a":"1","p1s_b":"1","p2s_a":"0","p2s_b":"1","et_a":"","et_b":"","pen_a":"","pen_b":"","venue_type":"home_away","final_period":"fhk_p4s","attendance":"","venue_id":"13889","venue_name":"State Netball and Hockey Centre","venue_city":"Melbourne, VIC","last_updated":"2019-02-03 12:13:25"},{"match_id":"1520777","competition_id":"2156","season_id":"20345","round_id":"27674","date":"2019-02-10","time":"05:00:00","date_utc":"2019-02-10","time_utc":"04:00:00","team_a_id":"36640","team_a_name":"Australia","team_a_short_name":"Australia","team_a_tla_name":"AUS","team_a_original_name":"Australia","team_a_country":"AUS","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/36640.png","team_b_id":"36647","team_b_name":"Germany","team_b_short_name":"Germany","team_b_tla_name":"GER","team_b_original_name":"Germany","team_b_country":"DEU","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/36647.png","status":"Played","gameweek":"","winner":"team_A","score_a":"4","score_b":"2","p1s_a":"1","p1s_b":"1","p2s_a":"1","p2s_b":"1","et_a":"","et_b":"","pen_a":"","pen_b":"","venue_type":"home_away","final_period":"fhk_p4s","attendance":"","venue_id":"13891","venue_name":"Tasmanian Hockey Centre","venue_city":"Hobart, TAS","last_updated":"2019-03-09 10:03:43"},{"match_id":"1520780","competition_id":"2156","season_id":"20345","round_id":"27674","date":"2019-02-16","time":"05:30:00","date_utc":"2019-02-16","time_utc":"04:30:00","team_a_id":"36640","team_a_name":"Australia","team_a_short_name":"Australia","team_a_tla_name":"AUS","team_a_original_name":"Australia","team_a_country":"AUS","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/36640.png","team_b_id":"36641","team_b_name":"Great Britain","team_b_short_name":"Great Britain","team_b_tla_name":"GBR","team_b_original_name":"Great Britain","team_b_country":"GBR","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/36641.png","status":"Played","gameweek":"","winner":"team_A","score_a":"2","score_b":"0","p1s_a":"1","p1s_b":"0","p2s_a":"1","p2s_b":"0","et_a":"","et_b":"","pen_a":"","pen_b":"","venue_type":"home_away","final_period":"fhk_p4s","attendance":"","venue_id":"13892","venue_name":"Perth Hockey Stadium","venue_city":"Perth, WA","last_updated":"2019-03-09 10:16:52"},{"match_id":"1520784","competition_id":"2156","season_id":"20345","round_id":"27674","date":"2019-03-02","time":"05:00:00","date_utc":"2019-03-02","time_utc":"04:00:00","team_a_id":"36640","team_a_name":"Australia","team_a_short_name":"Australia","team_a_tla_name":"AUS","team_a_original_name":"Australia","team_a_country":"AUS","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/36640.png","team_b_id":"36642","team_b_name":"Spain","team_b_short_name":"Spain","team_b_tla_name":"ESP","team_b_original_name":"Spain","team_b_country":"ESP","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/36642.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","et_a":"","et_b":"","pen_a":"","pen_b":"","venue_type":"home_away","final_period":"fhk_p4s","attendance":"","venue_id":"13894","venue_name":"Sydney Olympic Park Hockey Centre","venue_city":"Sydney, NSW","last_updated":"2019-03-09 10:36:46"}]}}}}