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

Resource information

URLhttps://api.softnetsport.com/v2/livescore
XSD 
MethodGET

Description

Returns the LIVE events related with competitions, seasons, stages and groups
PackageThis resource is included in the LIVESCORE package
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
langxsd:string

Determines language for the output data. softnetSPORT API provides the following languages: languages.index

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

sport_idxsd:intDetermines the sport identifier in which the events are played. softnetSPORT API provides the following sports: sports.index
area_idxsd:intDetermines the area identifier in which the events are played. softnetSPORT API provides the following sports: areas.index
competition_idxsd:intDetermines the competition identifier in which the events are played. softnetSPORT API provides the following sports: competitions.index
season_idxsd:intDetermines the season identifier in which the events are played. softnetSPORT API provides the following sports: seasons.index
stage_idxsd:intDetermines the stage identifier in which the events are played. softnetSPORT API provides the following sports: stages.index
group_idxsd:intDetermines the group identifier in which the events are played. softnetSPORT API provides the following sports: groups.index
participant_idxsd:intDetermines the identifier of the participant. softnetSPORT API provides the following statuses: participants.index
events_detailsxsd:string

Determines if subnodes of events will be visible. Possible values:

  • yes - events subnodes will be shown
  • no - events subnodes will not be hidden
competitions_detailsxsd:string

Determines if parent nodes of events will be visible. Possible values:

  • yes - events parent nodes will be shown
  • no - events parent nodes will not be hidden
tzxsd:stringDetermines timezone for the output data. softnetSPORT API provides the following timezones: timezones

Method calling examples

LinkDescription
https://api.softnetsport.com/v2/livescore.xml?token={{YOUR_TOKEN}}Returns list of all in progress (live) events in XML format
https://api.softnetsport.com/v2/livescore?token={{YOUR_TOKEN}}Returns list of all in progress (live) events in JSON format

Output elements

.competitions 
..competition 
idUnique identifier for the competition
nameName of the the competition i.e.: U19 World Champ
short_nameShorter name of the competition i.e.: U19 WCH, Max 20 characters
mini_name

Mini name of the competition. Max 3 characters length i.e.: U19

gender

Competition gender. Possible values:

  • male
  • female
  • mixed
  • undefined
type

Competitions type. Possible values:

  • country_league - i.e.: Premier Division
  • country_cups - i.e.: FA Cup
  • international - i.e.: World Cup
  • international_clubs - i.e.: Champions League 
  • friendly - friendly matches
  • individual - for speedway individual competitions such as Speedway GP
  • team - for speedway national competitions
  • single - for tennis competitions
  • double - for tennis competitions
  • mixed - for tennis competitions
  • undefined - other
area_idUnique identifier of area in which competitions are played. softnetSPORT API provides the following areas: areas.index
area_nameName of area in which competitions are played
area_type

 Type of area in which competitions are played. Possible values:

  • country
  • international
area_sortThe parameter used to sort competitions in the country, i.e. Premier League is 1st and the Championship is 2nd in English competitions. Sorting direction is ascending
area_codeMax 3 characters length of area in which competitions are played
overall_sortThe parameter used to sort competitions. Sorting direction is ascending
sport_idUnique identifier of the sport in which competition is played. softnetSPORT API provides the following sports: sports.index
sport_nameName of the sport in which competition is played
tour_idUnique identifier of the tour in which competition is played. softnetSPORT API provides the following tours: tours.index
tour_nameName of the tour in which competition is played
utInformation about date and time when the competition record was last updated. Format UNIX_TIMESTAMP
old_competition_iddeprecated. The attribute will be removed in the next API version
...seasons
 
....season
 
idUnique identifier for the season
nameName of the season f.e: Premiership 2014/15
year

Determines the season year f.e:

  • 1970
  • 1970/71
  • 1971
  • 1971/72
  • 2000
  • 2000/01
  • 2014
  • 2014/15
utInformation about date and time when the season record was last updated. Format UNIX_TIMESTAMP
old_season_iddeprecated. The attribute will be removed in the next API version
.....stages
 
.....stage
 
idUnique identifier for the stage
nameName of the stage
start_dateDate when stage begins. Format YYYY-MM-DD
end_dateDate when stage ends. Format YYYY-MM-DD
show_standings

Determines if the stage contains a standings. Possible values:

  • yes
  • no
groups_nrThe amount of groups that are part of the stage
sortThe sort order for the stage. Sorting direction is ascending
is_current

Possible values:

  • yes
  • no
utInformation about date and time when the stage record was last updated. Format UNIX_TIMESTAMP
old_stage_iddeprecated. The attribute will be removed in the next API version
......groups
 
......group
 
idUnique identifier for the group
nameName of the group
utInformation about date and time when the group record was last updated. Format UNIX_TIMESTAMP
........events
 
.........event
 
idUnique identifier for the event
nameName of the event i.e. Spain - Italy
start_dateDate when the event starts in format DATE_TIME (2015-03-01 11:02)
ft_only

Determines when the result of the event is updated. Possible values:

  • yes - result updated only when event is finished 
  • no - result updated during the event
coverage_type

Type of event coverage. Possible values:

  • venue - means the scout is relating the event directly from the stadium
  • tv - means the scout is relating the event from tv transmission
scoutsfeed

Information concerning scouts coverage. Possible values:

  • yes
  • no
status_idUnique identifier of the event status. softnetSPORT API provides the following statuses: statuses.index
status_name

Name of the event status

status_type

Type of the status. Possible values:

  • live
  • scheduled
  • finished
  • cancelled
  • interrupted
  • deleted
  • other
sport_idUnique identifier of the sport in which event is played. softnetSPORT API provides the following sports: sports.index
sport_nameName of the sport in which event is played
dayDay in the season
neutral_venue

Determines if event is played on neutral venue. Possible values:

  • yes
  • no
utInformation about date and time when the event record was last updated. Format UNIX_TIMESTAMP
old_event_iddeprecated. The attribute will be removed in the next API version
.........details
 additional information related to event
..........detail
 
idUnique identifier for the detail
nameName of the detail. Possible values are different depending on the sport. For more information please find node details in the sports.show: sports.show
valueValue related to the detail
.........participants
 
..........participant
 
counterNumber of participant in the event. Participant with counter="1" is home team.
idUnique identifier of the participant
type

Participant type. Possible values:

  • team
  • person
nameParticipant name
short_nameParticipant short name, max length: 20 characters
acronymMax 3 characters length mini name, f.e: BAR, REA
gender

Participant gender. Possible value:

  • male
  • female
  • mixed (for doubles in tennis f.e)
area_idUnique identifier of the area represented by the participant. softnetSPORT API provides the following areas: areas.index
area_nameArea name represented by the participant
area_codeMax 3 characters length of the short area name f.e: GER, POL, FRA
sport_idUnique identifier of the sport in which participant occures. softnetSPORT API provides the following sports: sports.index
sport_nameName of the sport in which participant occures
national

Determines if participant is national team. Possible values:

  • yes
  • no
websiteParticipant official website
utInformation about date and time when the record was last updated. Format UNIX_TIMESTAMP
old_participant_iddeprecated. The attribute will be deprecated in next API version
...........results
 
............result
 
idUnique identifier for the result
nameName of the result. Possible values are different depending on the sport. For more information please find node details in the sports.show: sports.show
valueValue related to the result
...........stats
 
............stat
 
idUnique identifier for the statistic
nameName of the statistic. Possible values are different depending on the sport. For more information please find node details in the sports.show: sports.show
valueValue related to the statistic

 

 

  • No labels