Subscription to this function is not available for your account. To upgrade and receive access to this contact sales@datasportsgroup.com
GET //
Request URL
https://dsg-api.com/clients/{client_name}/
API Threshold
- 10k calls per hour (2.78 calls per second)
- This threshold applies to ALL your calls you do across the API.
- Your number of calls get reset every hour at :00
- If the thresold is reached within the hour you will get a xml/json message accordingly (which is gone when the next hour starts, see previous point)
Parameters
Nodes
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}/");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}/"
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}/"
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}/", auth=("User", "Password"))
Response Example200 Success{"datasportsgroup":{"version":"2.1377.3","sport":"tennis","lang":"en","generated_utc":"2025-08-01T15:23:01+00:00","method":{"method_id":"1377","name":"get_trophies"},"tour":{"tour_id":"4","name":"ATP Challenger","gender":"male","tour_type":"tour","tour_season":[{"tour_season_id":"3","title":"2017","name":"ATP Challenger Tour","logo":"https:\/\/dsg-images.com\/tours\/200x200\/4.png","competition":{"competition_id":"1329","name":"Lexington Challenger","gender":"both","type":"player","format":"tournament","area_id":"203","area_name":"United States","last_updated":"2022-01-03 09:47:05","season":{"season_id":"13610","title":"2017 Mens Singles","original_name":"Kentucky Bank Tennis Championships","start_date":"2017-07-31","end_date":"2017-08-06","logo":"","last_updated":"2017-07-31 17:14:43","discipline":{"discipline_id":"330","name":"Singles","type":"contestant","gender":{"value":"male","people":[{"type":"winner","people_id":"450065","common_name":"Michael Mmoh","nationality_area_id":"203","nationality_area_code":"USA","nationality_area_name":"United States"},{"type":"runnerup","people_id":"450238","common_name":"John Millman","nationality_area_id":"19","nationality_area_code":"AUS","nationality_area_name":"Australia"}]}}}}},{"tour_season_id":"14","title":"2018","name":"ATP Challenger Tour","logo":"https:\/\/dsg-images.com\/tours\/200x200\/4.png","competition":{"competition_id":"1329","name":"Lexington Challenger","gender":"both","type":"player","format":"tournament","area_id":"203","area_name":"United States","last_updated":"2022-01-03 09:47:05","season":{"season_id":"17817","title":"2018 Mens Singles","original_name":"Kentucky Bank Tennis Championships","start_date":"2018-07-30","end_date":"2018-08-05","logo":"","last_updated":"2018-07-30 08:57:07","discipline":{"discipline_id":"330","name":"Singles","type":"contestant","gender":{"value":"male","people":[{"type":"winner","people_id":"450353","common_name":"Lloyd Harris","nationality_area_id":"175","nationality_area_code":"RSA","nationality_area_name":"South Africa"},{"type":"runnerup","people_id":"449861","common_name":"Stefano Napolitano","nationality_area_id":"100","nationality_area_code":"ITA","nationality_area_name":"Italy"}]}}}}},{"tour_season_id":"20","title":"2019","name":"ATP Challenger Tour","logo":"https:\/\/dsg-images.com\/tours\/200x200\/4.png","competition":{"competition_id":"1329","name":"Lexington Challenger","gender":"both","type":"player","format":"tournament","area_id":"203","area_name":"United States","last_updated":"2022-01-03 09:47:05","season":{"season_id":"23300","title":"2019 Mens Singles","original_name":"Kentucky Bank Tennis Championships","start_date":"2019-07-29","end_date":"2019-08-04","logo":"","last_updated":"2019-07-30 07:28:17","discipline":{"discipline_id":"330","name":"Singles","type":"contestant","gender":{"value":"male","people":[{"type":"winner","people_id":"3069839","common_name":"Jannik Sinner","nationality_area_id":"100","nationality_area_code":"ITA","nationality_area_name":"Italy"},{"type":"runnerup","people_id":"450058","common_name":"Alex Bolt","nationality_area_id":"19","nationality_area_code":"AUS","nationality_area_name":"Australia"}]}}}}},{"tour_season_id":"49","title":"2021","name":"ATP Challenger Tour","logo":"https:\/\/dsg-images.com\/tours\/200x200\/4_1.png","competition":{"competition_id":"1329","name":"Lexington Challenger","gender":"both","type":"player","format":"tournament","area_id":"203","area_name":"United States","last_updated":"2022-01-03 09:47:05","season":{"season_id":"52369","title":"2021 Mens Singles","original_name":"Lexington Challenger","start_date":"2021-07-26","end_date":"2021-08-01","logo":"","last_updated":"2021-07-19 17:03:31","discipline":{"discipline_id":"330","name":"Singles","type":"contestant","gender":{"value":"male","people":[{"type":"winner","people_id":"918114","common_name":"Jason Kubler","nationality_area_id":"19","nationality_area_code":"AUS","nationality_area_name":"Australia"},{"type":"runnerup","people_id":"2005514","common_name":"Alejandro Tabilo","nationality_area_id":"48","nationality_area_code":"CHL","nationality_area_name":"Chile"}]}}}}},{"tour_season_id":"66","title":"2022","name":"ATP Challenger Tour","logo":"https:\/\/dsg-images.com\/tours\/200x200\/4_1.png","competition":{"competition_id":"1329","name":"Lexington Challenger","gender":"both","type":"player","format":"tournament","area_id":"203","area_name":"United States","last_updated":"2022-01-03 09:47:05","season":{"season_id":"66404","title":"2022","original_name":"Lexington Challenger presented by Meridian Wealth Management","start_date":"2022-08-01","end_date":"2022-08-08","logo":"","last_updated":"2022-07-25 09:14:13","discipline":{"discipline_id":"330","name":"Singles","type":"contestant","gender":{"value":"male","people":[{"type":"winner","people_id":"7736336","common_name":"Shang Juncheng","nationality_area_id":"49","nationality_area_code":"CHN","nationality_area_name":"China PR"},{"type":"runnerup","people_id":"450161","common_name":"Emilio Gómez","nationality_area_id":"65","nationality_area_code":"ECU","nationality_area_name":"Ecuador"}]}}}}},{"tour_season_id":"80","title":"2023","name":"ATP Challenger Tour","logo":"https:\/\/dsg-images.com\/tours\/200x200\/4_2.png","competition":{"competition_id":"1329","name":"Lexington Challenger","gender":"both","type":"player","format":"tournament","area_id":"203","area_name":"United States","last_updated":"2022-01-03 09:47:05","season":{"season_id":"69632","title":"2023","original_name":"Lexington Challenger","start_date":"2023-07-31","end_date":"2023-08-06","logo":"","last_updated":"2023-07-28 10:45:09","discipline":{"discipline_id":"330","name":"Singles","type":"contestant","gender":{"value":"male","people":[{"type":"winner","people_id":"449839","common_name":"Steve Johnson","nationality_area_id":"203","nationality_area_code":"USA","nationality_area_name":"United States"},{"type":"runnerup","people_id":"3325268","common_name":"Arthur Cazaux","nationality_area_id":"76","nationality_area_code":"FRA","nationality_area_name":"France"}]}}}}},{"tour_season_id":"1374","title":"2024","name":"ATP Challenger Tour","logo":"https:\/\/dsg-images.com\/tours\/200x200\/4_2.png","competition":{"competition_id":"1329","name":"Lexington Challenger","gender":"both","type":"player","format":"tournament","area_id":"203","area_name":"United States","last_updated":"2022-01-03 09:47:05","season":{"season_id":"72937","title":"2024","original_name":"Lexington Challenger","start_date":"2024-07-29","end_date":"2024-08-04","logo":"","last_updated":"2024-06-19 10:53:30","discipline":{"discipline_id":"330","name":"Singles","type":"contestant","gender":{"value":"male","people":[{"type":"winner","people_id":"7743318","common_name":"João Fonseca","nationality_area_id":"35","nationality_area_code":"BRA","nationality_area_name":"Brazil"},{"type":"runnerup","people_id":"512229","common_name":"Li Tu","nationality_area_id":"19","nationality_area_code":"AUS","nationality_area_name":"Australia"}]}}}}}]}}}