No Subscription to this function
GET /floorball/get_peoples
Returns person informations and list of teams the person were member of.
Request URL
https://dsg-api.com/clients/{client_name}/floorball/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
player statistics per competition
appearances
number of appearances (starting 11 + sub in)
assists
number of assists
competition_id
unique identifier for a competition.
competition_name
name of the competition.
comp_area_id
unique identifier for area.
comp_format
competition format to filter out leagues or cups
goals
number of goals
penalty_minutes
number of penalty minutes
pp_goals
number of power play goals
sh_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
sport
sport of the API
version
version of the API
main_club_career
player statistics in all club competitions
appearances
number of appearances (starting 11 + sub in)
assists
number of assists
goals
number of goals
penalty_minutes
number of penalty minutes
pp_goals
number of power play goals
sh_goals
number of short handed goals
main_national_team_career
player statistics in all national team competitions
appearances
number of appearances (starting 11 + sub in)
assists
number of assists
goals
number of goals
penalty_minutes
number of penalty minutes
pp_goals
number of power play goals
sh_goals
number of short handed goals
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
attendance
amount of people that attended the particular match
common_name
common name of the person
competition_id
unique identifier for a competition.
competition_name
name of the competition.
country_of_birth
name of the country the person was born
date
Date of match, format 'yyyy-mm-dd' (CET)
date_of_birth
birth date of the person
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')
first_name
first name of the person
gameweek
contains the gameweek a match belongs to.
gender
gender of the person ('male' or 'female')
grip
grip style of the player (left or right)
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.
match_id
unique identifier of match.
match_name
shortened match name of the person
nationality
current nationality of the person
ot_a
extra-time score of home team.
ot_b
extra-time score of away team.
p1s_a
1st period score of home team.
p1s_b
1st period score of away team.
p2s_a
2nd period score of home team
p2s_b
2nd period score of away team
p3s_a
3rd period score of home team.
p3s_b
3rd period score of away team.
p4s_a
4th period score of home team
p4s_b
4th period score of away team
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
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 away 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
weight
Weight of person in kilograms.
winner
determines the winner of match ('team_A','team_B','draw','yet unknown')
season_statistic
player statistics per season
appearances
number of appearances (starting 11 + sub in)
assists
number of assists
competition_name
name of the competition.
comp_area_id
unique identifier for area.
comp_format
competition format to filter out leagues or cups
goals
number of goals
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
pp_goals
number of power play goals
season_id
unique identifier for season
shirtnumber
shirtnumber for the particular season
sh_goals
number of short handed goals
start_date
Start date of season, format 'yyyy-mm-dd'.
title
title of season
youth_club_career
player statistics in all youth club competitions
appearances
number of appearances (starting 11 + sub in)
assists
number of assists
goals
number of goals
penalty_minutes
number of penalty minutes
pp_goals
number of power play goals
sh_goals
number of short handed goals
youth_national_team_career
player statistics in all youth national team competitions
appearances
number of appearances (starting 11 + sub in)
assists
number of assists
goals
number of goals
penalty_minutes
number of penalty minutes
pp_goals
number of power play goals
sh_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}/floorball/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}/floorball/get_peoples?id={people_id}&client={client_name}&authkey={client_authkey}"
response = requests.get("https://dsg-api.com/clients/{client_name}/floorball/get_peoples?id={people_id}&client={client_name}&authkey={client_authkey}", auth=("User", "Password"))
Response Example
200 Success
{"datasportsgroup":{"version":"1.0","sport":"floorball","lang":"en","method":{"method_id":"271","name":"get_peoples"},"people":{"people_id":"282862","first_name":"Nicola","last_name":"Bischofberger","match_name":"N. Bischofberger","common_name":"Nicola Bischofberger","date_of_birth":"1994-08-12","place_of_birth":"","country_of_birth":"Switzerland","nationality":"Switzerland","gender":"male","height":"183","weight":"","grip":"left","position":"Defender","player_picture":"","career_summary":{"main_club_career":[],"youth_club_career":[],"main_national_team_career":{"appearances":"6","goals":"0","assists":"1","pp_goals":"0","sh_goals":"0","penalty_minutes":"0","competition":{"competition_id":"2118","competition_name":"Floorball World Championships","comp_area_id":"1","comp_format":"international_cup","appearances":"6","goals":"0","assists":"1","pp_goals":"0","sh_goals":"0","penalty_minutes":"0"}},"youth_national_team_career":[]},"membership":{"membership_id":"2859705","team_id":"38661","team_name":"Switzerland","short_name":"Switzerland","team_area":"Switzerland","type":"national","start_date":"2016-11-20","end_date":"","role":"player","active":"yes","last_updated":"2019-06-04 08:28:05","season_statistic":{"season_id":"19610","title":"2018 Praha","competition_name":"Floorball World Championships","original_name":"Floorball World Championships","comp_area_id":"1","comp_format":"international_cup","appearances":"6","goals":"0","assists":"1","pp_goals":"0","sh_goals":"0","penalty_minutes":"0","shirtnumber":"2","last_updated":"2019-01-09 15:22:49"}},"last_matches":{"match":[{"match_id":"1488313","competition_id":"2118","season_id":"19610","round_id":"26252","date":"2018-12-01","time":"12:00:00","date_utc":"2018-12-01","time_utc":"11:00:00","team_a_id":"38661","team_a_name":"Switzerland","team_a_short_name":"Switzerland","team_a_tla_name":"SUI","team_a_original_name":"Switzerland","team_a_country":"CHE","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/38661.png","team_b_id":"38663","team_b_name":"Latvia","team_b_short_name":"Latvia","team_b_tla_name":"LVA","team_b_original_name":"Latvia","team_b_country":"LVA","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/38663.png","status":"Played","gameweek":"","winner":"team_A","score_a":"7","score_b":"3","p1s_a":"2","p1s_b":"3","p2s_a":"2","p2s_b":"0","p3s_a":"3","p3s_b":"0","ot_a":"","ot_b":"","so_a":"","so_b":"","venue_type":"neutral","final_period":"flb_p3s","attendance":"6838","venue_id":"12142","venue_name":"O2 Arena","venue_city":"Praha","last_updated":"2019-05-18 09:35:23"},{"match_id":"1488321","competition_id":"2118","season_id":"19610","round_id":"26252","date":"2018-12-02","time":"14:00:00","date_utc":"2018-12-02","time_utc":"13:00:00","team_a_id":"38661","team_a_name":"Switzerland","team_a_short_name":"Switzerland","team_a_tla_name":"SUI","team_a_original_name":"Switzerland","team_a_country":"CHE","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/38661.png","team_b_id":"38664","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\/38664.png","status":"Played","gameweek":"","winner":"team_A","score_a":"13","score_b":"1","p1s_a":"4","p1s_b":"0","p2s_a":"3","p2s_b":"0","p3s_a":"6","p3s_b":"1","ot_a":"","ot_b":"","so_a":"","so_b":"","venue_type":"neutral","final_period":"flb_p3s","attendance":"3852","venue_id":"12142","venue_name":"O2 Arena","venue_city":"Praha","last_updated":"2019-05-18 09:52:50"},{"match_id":"1488336","competition_id":"2118","season_id":"19610","round_id":"26252","date":"2018-12-04","time":"19:30:00","date_utc":"2018-12-04","time_utc":"18:30:00","team_a_id":"38662","team_a_name":"Czech Republic","team_a_short_name":"Czech Republic","team_a_tla_name":"CZE","team_a_original_name":"Czech Republic","team_a_country":"CZE","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/38662.png","team_b_id":"38661","team_b_name":"Switzerland","team_b_short_name":"Switzerland","team_b_tla_name":"SUI","team_b_original_name":"Switzerland","team_b_country":"CHE","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/38661.png","status":"Played","gameweek":"","winner":"team_A","score_a":"6","score_b":"4","p1s_a":"3","p1s_b":"2","p2s_a":"0","p2s_b":"0","p3s_a":"3","p3s_b":"2","ot_a":"","ot_b":"","so_a":"","so_b":"","venue_type":"neutral","final_period":"flb_p3s","attendance":"5942","venue_id":"12142","venue_name":"O2 Arena","venue_city":"Praha","last_updated":"2019-05-18 09:39:26"},{"match_id":"1488341","competition_id":"2118","season_id":"19610","round_id":"26254","date":"2018-12-06","time":"16:30:00","date_utc":"2018-12-06","time_utc":"15:30:00","team_a_id":"38661","team_a_name":"Switzerland","team_a_short_name":"Switzerland","team_a_tla_name":"SUI","team_a_original_name":"Switzerland","team_a_country":"CHE","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/38661.png","team_b_id":"38667","team_b_name":"Norway","team_b_short_name":"Norway","team_b_tla_name":"NOR","team_b_original_name":"Norway","team_b_country":"NOR","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/38667.png","status":"Played","gameweek":"","winner":"team_A","score_a":"3","score_b":"2","p1s_a":"1","p1s_b":"1","p2s_a":"0","p2s_b":"0","p3s_a":"1","p3s_b":"1","ot_a":"1","ot_b":"0","so_a":"","so_b":"","venue_type":"neutral","final_period":"flb_ot","attendance":"3977","venue_id":"12142","venue_name":"O2 Arena","venue_city":"Praha","last_updated":"2019-05-18 09:56:41"},{"match_id":"1488346","competition_id":"2118","season_id":"19610","round_id":"26255","date":"2018-12-08","time":"19:00:00","date_utc":"2018-12-08","time_utc":"18:00:00","team_a_id":"38665","team_a_name":"Sweden","team_a_short_name":"Sweden","team_a_tla_name":"SWE","team_a_original_name":"Sweden","team_a_country":"SWE","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/38665.png","team_b_id":"38661","team_b_name":"Switzerland","team_b_short_name":"Switzerland","team_b_tla_name":"SUI","team_b_original_name":"Switzerland","team_b_country":"CHE","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/38661.png","status":"Played","gameweek":"","winner":"team_A","score_a":"5","score_b":"4","p1s_a":"1","p1s_b":"1","p2s_a":"2","p2s_b":"1","p3s_a":"1","p3s_b":"2","ot_a":"0","ot_b":"0","so_a":"1","so_b":"0","venue_type":"neutral","final_period":"flb_so","attendance":"10267","venue_id":"12142","venue_name":"O2 Arena","venue_city":"Praha","last_updated":"2019-05-18 10:06:06"},{"match_id":"1488347","competition_id":"2118","season_id":"19610","round_id":"26256","date":"2018-12-09","time":"13:00:00","date_utc":"2018-12-09","time_utc":"12:00:00","team_a_id":"38662","team_a_name":"Czech Republic","team_a_short_name":"Czech Republic","team_a_tla_name":"CZE","team_a_original_name":"Czech Republic","team_a_country":"CZE","team_a_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/38662.png","team_b_id":"38661","team_b_name":"Switzerland","team_b_short_name":"Switzerland","team_b_tla_name":"SUI","team_b_original_name":"Switzerland","team_b_country":"CHE","team_b_logo":"https:\/\/www.dsg-images.com\/clubs\/150x150\/38661.png","status":"Played","gameweek":"","winner":"team_B","score_a":"2","score_b":"4","p1s_a":"1","p1s_b":"2","p2s_a":"1","p2s_b":"1","p3s_a":"0","p3s_b":"1","ot_a":"","ot_b":"","so_a":"","so_b":"","venue_type":"neutral","final_period":"flb_p3s","attendance":"16112","venue_id":"12142","venue_name":"O2 Arena","venue_city":"Praha","last_updated":"2019-05-18 10:06:59"}]}}}}