Subscription to this function is not available for your account. To upgrade and receive access to this contact sales@datasportsgroup.com
GET /boxing/get_matches_updates
Returns the last updated matches
Request URL
https://dsg-api.com/clients/{client_name}/boxing/get_matches_updates?intv=9000&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)
intv
int Required
interval in seconds the changes should be retrieved
lang
string
two-character language code, defaults to 'en'
Nodes
contestant_a
details about the contestant
alias
nickname/alias of the boxer
common_name
common name of the person
first_name
first name of the person
height
Height of person in centimeters
last_name
last name of the person
match_name
shortened match name of the person
nationality_area_id
unique identifier for an area
nationality_area_name
area name of peoples nationality
nationality_code
three-letter acronym of the nationality
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
reach
reach of the boxer
stance
stance of the boxer
weight
Weight of person in kilograms.
contestant_b
details about the contestant
alias
nickname/alias of the boxer
common_name
common name of the person
first_name
first name of the person
height
Height of person in centimeters
last_name
last name of the person
match_name
shortened match name of the person
nationality_area_id
unique identifier for an area
nationality_area_name
area name of peoples nationality
nationality_code
three-letter acronym of the nationality
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
reach
reach of the boxer
stance
stance of the boxer
weight
Weight of person in kilograms.
match
Details about match
clock
pending time on the clock during live fights
current_round
current round during a live fight
date
Date of match, format 'yyyy-mm-dd' (CET)
date_utc
Date of match, format 'yyyy-mm-dd' (UTC)
federation
federation for the fight, can be multiple ones comma seperated
fight_type
type of fight (title, contender, vacant_title, regular)
final_period
display the period in which the match finished. ('soc_p2s','soc_ets','soc_pen')
last_updated
when record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
match_id
unique identifier of match.
max_rounds
max number of rounds for the fight
score_a
number of judges who saw fighter A as winner
score_b
number of judges who saw fighter B as winner
status
status of the game (Fixture,Playing,Played,Tech Knockout,Retired,Knockout,Disqualified,Draw)
time
start time (CET), format 'hh:mm:ss'.
time_per_round
time per round for the fight
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
weightclass
weightclass for the fight
winner
determines the winner of match ('team_A','team_B','draw','yet unknown')
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}/boxing/get_matches_updates?intv=9000&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}/boxing/get_matches_updates?intv=9000&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}/boxing/get_matches_updates?intv=9000&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}/boxing/get_matches_updates?intv=9000&client={client_name}&authkey={client_authkey}", auth=("User", "Password"))
Response Example
200 Success