Versions Compared

Key

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

Resource information

URLhttps://api.softnetsportstatscore.com/v2/sportsXSDhttps://api.softnetsport.com/assets/API/docs/xsd/sports.index.xsd
MethodGET

Description

Returns a list of all available sports
Cache60 seconds
Authorization requiredNo

...

Method calling examples

softnetsport.com/v2/sports.xml
Link
Description
https://api.Returns a list of all sports in XML formathttps://api.softnetsportstatscore.com/v2/sportsReturns a list of all sports in JSON format

Output elements

sports
sports > sport


idUnique identifier for the sport
ls_idFor internal purposes
nameName of the sport. Possible translation of the attribute
urlName that is used in the url address in API
active

Sports status that shows if the sport is currently supported inĀ  API.
Possible values:

  • yes - sport is supported
  • no - sport will be supported in the near future
has_timer

Defines if sport use timer.
Possible values:

  • yes
  • no
template

Internal attribute.

Possible values:

  • default
  • fixed_incidents
incidents_positions

Defines if sport uses incidents positions.
Possible values:

  • yes
  • no
utInformation about the date and time of when the record was last updated. Format UNIX_TIMESTAMP