Versions Compared

Key

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

Resource information

URLhttps://api.
softnetsport
statscore.com/v2/standings
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
not
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 with object_id parameter
Determines object type. Possible values:

  • sport
  • season
  • competition
  • stage
  • event
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
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
identifier
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
which occured
that occurred or
was
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

Returns the list of available standings in XML formathttps://api.softnetsport.
LinkDescription
https://api.
softnetsport.com/v2/standings.xml?token={{YOUR_TOKEN}}
statscore.com/v2/standings?token={{YOUR_TOKEN}}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
of
for the sport in which standings
occures. 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.
i
e.
e
g. Standings table, Top scorers, Cards
subtype

Name of subtype

of

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

are

is generated. Possible values:

  • sport (
i
  • e.
e
  • g. WTA Ranking)
  • season (standings
table
  • for England Premiership)
  • stage (standings in second round of competitions)
  • event (final results of F1 Australian Grand Prix)
object_nameName
for
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