GetSportResults - Saba-sports/OddsDirectAPI GitHub Wiki

This API is to get how many event results and outright results count for each sport.

  • Only support query the results within the last 12 days.

Request

GET  /sports/{version}/GetSportResults?from=2022-01-01&until=2022-01-02&language=cs
Accept: application/json
Accept-Encoding: br, gzip, deflate
X-Forwarded-For: client ip (If using API via proxy)
Authorization: Bearer {JWT token}
Parameter Format Mandatory Description
from DateTime Yes Specific the start date of the data.The date time string format should be like: "2021-01-01T00:00:00"
until DateTime Yes Specific the end date of the data.The date time string format should be like: "2021-01-01T00:00:00"
language string Specific the language of the response context, default is "en".Please refer to Language Table

Response

{    
    "sportList": [
        {  
            "sportType": int,  
            "sportName": string, 
            "eventResults": int,
            "outrightResults": int
        }
    ]   
} 
Parameter Format Description
sportList Array Specifies the result information of sport.
Parameter Format Description
sportType int Specifies the identifier of the sport.
sportName string Specifies the name of the sport.
eventResults int Specifies the number of the event results.
outrightResults int Specifies the number of the outright results.