No Subscription to this function
GET /golf/get_peoples
Returns person informations and list of teams the person were member of.
Request URL
https://dsg-api.com/clients/{client_name}/golf/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
contestant
result informations for the contestant
current_round
current round for the contestant
current_round_id
unique identifier of current round for the contestant
par_round_1
how much under/over par for round 1
par_round_2
how much under/over par for round 2
par_round_3
how much under/over par for round 3
par_round_4
how much under/over par for round 4
position
final position in this tournament
status
contestant status for the tournament
strokes_round_1
number of strokes in round 1
strokes_round_2
number of strokes in round 2
strokes_round_3
number of strokes in round 3
strokes_round_4
number of strokes in round 4
tee_time_today
tee time for the latest round of this tournament
thru
indicates which holes/rounds the player already finished. (F = finished tournament)
today_par
number of over/under par for the latest round of this tournament
total_par
total number of over/under par for this tournament
total_strokes
number of total strokes for this tournament
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
country_of_birth_area_id
unique identifier for an area
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
nationality_area_id
unique identifier for an area
people_id
unique identifier for person
place_of_birth
name of city the person was born
weight
Weight of person in kilograms.
tournament
Details about tournament
area_id
unique identifier for area.
area_name
contains the area name.
competition_id
unique identifier for competition
end_date
End date of season, format 'yyyy-mm-dd'.
logo
full path URL of logo for particular season
original_name
competition name during this season
start_date
Start date of season, format 'yyyy-mm-dd'.
tournament_id
unique identifier for a tournament.
tour_season
details about a tour season
title
title of the particular tour season
tour_season_id
unique identifier of a tour season
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}/golf/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}/golf/get_peoples?id={people_id}&client={client_name}&authkey={client_authkey}"
response = requests.get("https://dsg-api.com/clients/{client_name}/golf/get_peoples?id={people_id}&client={client_name}&authkey={client_authkey}", auth=("User", "Password"))
Response Example
200 Success