Versions Compared

Key

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

...

NameTypeDescription
tokenxsd:stringREQUIRED. More information concerning authorization in API introduction section
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 50

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

timestampxsd:unix_timestamp

Selection date, format UNIX_TIMESTAMP. Only incidents that occurred or were updated after this timestamp will be returned.

By default (if no parameter given) incidents from last 24 hours.

timestamp_toxsd:unix_timestampSelection date, format UNIX_TIMESTAMP. Only incidents that occurred before this timestamp will be returned.
important_for_traderxsd:string

Determines type of incidents (if it's important for trader). By default all types are included.
Allowed values:

  • yes - returns only incidents important for trader
  • no - returns only incidents not important for trader
sport_idxsd:intIdentifier of the sport. Allows incidents for the selected sport to be filtered
typexsd:string

Determines type of message

  • incident
  • event
incident_idsxsd:stringList of incidents identifiers separated by a comma (e.g. 123,234,321) for which you want to get the incident details.
status_idxsd:intDetermines the event status identifier.

 

Method calling examples

Link
Description
https://api.softnetsport.com/v2/feed.xml?token={{YOUR_TOKEN}}Returns all event incidents from the last 24 hours in XML format
https://api.softnetsport.com/v2/feed?token={{YOUR_TOKEN}}Returns all event incidents from the last 24 hours in JSON format

https://api.softnetsport.com/v2/feed.xml?token={{YOUR_TOKEN}}&sport_id=1

Returns all event incidents from the last 24 hours for basketball events

...