Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

Resource information

URLhttps://api.softnetsport.com/v2/standings
XSDhttps://api.softnetsport.com/assets/API/docs/xsd/standings.index.xsd
MethodGET

Description

Returns the single standings data
PackageThis resource is included in the STATISTICS packages
Cache60 seconds
Authorization requiredYes

Method parameters

NameTypeDescription
There are no method parameters in this resource 

Query parameters

NameTypeDescription
tokenxsd:stringREQUIRED. More information concerning oAuth token: oAuth 2.0 authorization
langxsd:string

Determines language for the output data. softnetSPORT API provides the following languages: languages.index

pagexsd:intDetermines offset of paginated data. Default value is 1 which means first page.
limitxsd:int

Determines maximum number of returned records on page. Used in paginated data. Default value is 500. 

Possible values: 5, 10, 25, 50, 100, 250, 500

object_typexsd:string

Should always be used with object_id parameter
Determines object type. Possible values:

  • sport
  • season
  • competition
object_idxsd:intShould always be used with object_type parameter
Determines object id which is the unique identifier
type_idxsd:intIdentifier for the standing type you want to get results for. Possible standings types can be accessed in standings-types.index
subtypexsd:int

Determines subtype of standings. Possible values:

    • standings
    • under_over
    • form
    • overall_stats
sport_idxsd:intDetermines the sport identifier. softnetSPORT API provides the following sports: sports.index
timestampxsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only changes that occurred or were updated after this timestamp will be returned

Method calling examples

LinkDescription
https://api.softnetsport.com/v2/standings.xml?token={{YOUR_TOKEN}}Returns the list of available standings in XML format
https://api.softnetsport.com/v2/standings?token={{YOUR_TOKEN}}Returns the list of available standings in JSON format

Output elements

.standings_list 
..standings 
idUnique identifier for the standings
nameName of the standings
sport_idUnique identifier for the sport in which standings occurres. softnetSPORT API provides the following sports: sports.index
sport_nameName of the sport
type_nameName of standings type. e.g. Standings table, Top scorers, Cards
subtype

Name of subtype for standings. Possible values:

    • standings
    • under_over
    • form
    • overall_stats
object_idUnique identifier for object selected in the object_type
object_type

Type of object (kind of scope) for which data is generated. Possible values:

  • sport (e.g. WTA Ranking)
  • season (standings for England Premiership)
  • stage (standings in second round of competitions)
object_nameName of the selected object
utInformation about the date and time of when the record was last updated. Format UNIX_TIMESTAMP
  • No labels