Versions Compared

Key

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

Resource information

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

Description

Returns a list of all available sports
Cache60 seconds
Authorization requiredNo

...

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

Output elements

.
sports
sports > sport


idUnique identifier for the sport
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