venues.show
Resource information
URL | https://api.statscore.com/v2/venues{venue_id} |
---|---|
Method | GET |
Description | Returns information including related sports, possible sports venues details and participants available for the requested venue |
Cache | 60 seconds |
Authorization required | Yes |
Method parameters
Name | Type | Description |
---|---|---|
venue_id | xsd:int | REQUIRED. The requested venue identifier |
Query parameters
Name | Type | Description |
---|---|---|
token | xsd:string | REQUIRED. There is more information concerning authorization in the API introduction section |
lang | xsd:string | Determines language for the output data. The complete list of possible languages can be retrieved using the API resource: languages.index |
Method calling examples
Link | Description |
---|---|
https://api.statscore.com/v2/venues/1234?token={{YOUR_TOKEN}} | Returns detailed data for the selected venue in JSON format |
Output elements
.venue | |
---|---|
id | Unique identifier for the venue |
name | Name of the venue |
short_name | Short name of the venue |
country | Country in which the venue is place |
status | Status of the venue |
url | Url of the venue's website |
city | City in which the venue is place |
lat | Latitude of the venue |
lng | Longitude of the venue |
opened | Date when the venue was opened |
photo | Photo of the venue |
ut | Information about the date and time of when the venue record was last updated. Format UNIX_TIMESTAMP |
..sports | |
...sport | |
id | Unique 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_name | Name of the sport which the venue is related with. |
....venue_sport_details | |
.....detail | |
id | Unique identifier for the venue detail |
name | Name of the details. Possible values are different depending on the sport. Possible translation of the attribute |
value | Value related to the detail |