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 25 Next »

Resource information

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

Description

Returns sports supported by API service 
Cache60 seconds
Authorization requiredNo

Method parameters

NameTypeDescription
There are no method parameters in this resource 

Query parameters

NameTypeDescription
langxsd:string

Determines language for the output data 

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 100

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

timestampxsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only changes that occured or were updated after this timestamp will be returned

Method calling examples

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

idUnique identifier for the sport
nameName of the sport
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
utInformation about the date and time of when the record was last updated. Format UNIX_TIMESTAMP
sports
 
.sport
 
  • No labels