Versions Compared

Key

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

Resource information

URLhttps://api.statscore.com/v2/venues{venue_id}
MethodGET

Description

Returns information including related sports, possible sports venues details and participants available for the requested venue
Cache60 seconds
Authorization requiredYes

...

Method calling examples

.xml XML format
Link
Description
https://api.statscore.com/v2/venues/1234?token={{YOUR_TOKEN}}Returns detailed data for the selected venue in https://api.statscore.com/v2/venues/1234?token={{YOUR_TOKEN}}Returns detailed data for the selected venue in JSON format

Output elements

.venue
idUnique identifier for the venue
nameName of the venue
short_nameShort name of the venue
countryCountry in which the venue is place
statusStatus of the venue
urlUrl of the venue's website
cityCity in which the venue is place
latLatitude of the venue
lngLongitude of the venue
openedDate when the venue was opened
photoPhoto of the venue
utInformation about the date and time of when the venue record was last updated. Format UNIX_TIMESTAMP
..sports
...sport
idUnique identifier for the sport which the venue is related with. The complete list of possible sports can be retrieved using the API resource: sports.index
sport_nameName of the sport which the venue is related with.

....venue_sport_details


.....detail


idUnique identifier for the venue detail
nameName of the details. Possible values are different depending on the sport. Possible translation of the attribute
valueValue related to the detail

...