Versions Compared

Key

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

Description

Returns staus for events from all sport disciplines.

Package

This method is included all packages.

Parameters

langxsd:string

Determines language for output data. Possible values: en, pl

pagexsd:intDetermines maximum number of returned records. Used in paginated data. Default value is 500
limitxsd:int

Determines offset of paginated data. Default value is 0. Possible values: 5, 10, 25, 50, 100, 250, 500

sport_idxsd:intIdentifier of sport. Allows to filter status for selected sport.
Optional
Data type
Description

Output

The output contains status statuses which may occur in eventsBy default output data includes statuses sorted by id.

XML example

Method calling examples:

link
result description
https://api.softnetsport.com/v2/status.xmlreturns list of all status

https://api.softnetsport.com/v2/status.xml?sport_id=1

returns list of status used in basketball

Output elements

idUnique identifier for status
nameName of status
short_nameShorter name of status. Max 10 characters
typeType of status. Value can be: "live", "scheduled", "finished", "cancelled", "interrupted", "deleted", "other".
.status
status for events