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

Resource information

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

Description

Returns incidents generated by the scouts for all the events from last 24 hours
PackageThis resource is included in the SCOUTSFEED package
Cache0 seconds
Authorization requiredYes

Method parameters

NameTypeDescription
There are not method parameters in this resource 

 

Query parameters

NameTypeDescription
tokenxsd:stringREQUIRED. More information concerning oAuth token: oAuth 2.0 authorization
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 which occured or was 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 occured before this timestamp will be returned.
important_for_traderxsd:string

Determines type of incidents (if is 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 to filter incidents for the selected sport. softnetSPORT API provides the following sports: sports.index

 

Method calling examples

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

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

Returns all events's incidents from last 24 hours in basketball events

Output elements

.messages 
...message 
idUnique identifier of the incident occured in the event
type

Possible value:

  • incident
  • event_changes
source 
ut 
...data 
...incidentnode available only if message type
id 
incident_idIdentifier of the incident. softnetSPORT API provides the following incidents: incidents.index
incident_name 
participant_id 
participant_nameParticipant (player, team or coach) name related to incident
subparticipant_id 
subparticipant_name 
infoInternal attribute, please dont use this attribute
add_dataInternal attribute, please dont use this attribute
show_popupInternal attribute, please dont use this attribute
show_scoresInternal attribute, please dont use this attribute
show_timeInternal attribute, please dont use this attribute
show_actionInternal attribute, please dont use this attribute
show_on_timelineInternal attribute, please dont use this attribute
action

Describes type of scout operation on the incident. Possible values:

  • insert - new incident generated by the scout
  • update - incident was updated by the scout (f.e. incident "yellow card" is updated when scout fill the name of the player (participant)
  • delete - incident was deleted (f.e. when scout add some incident by mistake, he can delete it)
utInformation about date and time when record was last updated. Format UNIX_TIMESTAMP. UTC timezone.
....event 
idIdentifier of the event
nameName of the event
start_dateStart date for the event in format: YYYY-MM-DD hh:mm
ft_only 
coverage_type 
scoutsfeed 
status_id 
status_nameName of the current event status
status_type 
sport_idIdentifier of the sport which the event is played. softnetSPORT API provides the following sports: sports.index
sport_name 
day 
neutral_venue 
item_status 
clock_timeNumber of seconds passed in current period
clock_status 
result 
area_name 
competition_id 
competition_short_name 
season_id 
season_name 
stage_id 
stage_name 
tour_name 
tour_id 
gender 
bet_status 
ut 
details 
id 
value 
participants 
counter 
id 
name 
short_name 
acronym 
area_id 
area_name 
area_code 
ut 
results 
id 
value 
stats 
id 
value 
  • No labels