Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Resource information

URLhttps://api.
softnetsport
statscore.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
 More information concerning
oAuth token: oAuth 2.0 authorization
authorization in API introduction section
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

always

with object_id parameter
Determines object type. Possible values:

  • sport
  • season
  • competition
  • stage
  • event
object_idxsd:intShould always be used
always
with object_type parameter
Determines object id which is the unique identifier
type_idxsd:intIdentifier for the standing
type that
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
competition_idxsd:intDetermines the competition identifier. Can be used with many comma separated values
season_idxsd:intDetermines the season identifier. Can be used with many comma separated values
stage_idxsd:intDetermines the stage identifier. Can be used with many comma separated values
timestampxsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only changes that occurred or were updated after this timestamp will be returned
item_statusxsd:string

Describes status of the item (record). Possible values:

  • active - the record is active
  • deleted - the record was deleted by the admin. When an standing was added by mistake

Method calling examples

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

Output elements

.
standings_list
 ..standings 
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
occurres 
sport_nameName of the sport
type_idUnique identifier for the standings type. e.g. Away standings, World Cup standings, Event's final result
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
  • event (final results of F1 Australian Grand Prix)
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)
  • event (final results of F1 Australian Grand Prix)
object_nameName of the selected object
item_status

Describes status of the item (record). Possible values:

  • active - the record is active
  • deleted - the record was deleted by the admin. When an event was added by mistake
reset_group_rank

Describes type of rank in groups. Possible values:

  • yes - (default) each possible group in standings has it's own rank and it starts from value 1
  • no - all possible groups share the same rank e.g. rank in group B could start from the value higher than last value in group A.
utInformation about the date and time of when the record was last updated. Format UNIX_TIMESTAMP