<venue>
What does venue element mean?
The venue element provides information about the place where the event takes place.
XML Example
Here is an example of a venue element.
<venue id="sr:venue:6030" name="Scotiabank Arena" capacity="19800" city_name="Toronto" country_name="Canada" map_coordinates="43.643333,-79.379167" country_code="CAN"/>
Attributes Explained
Attribute
Meaning
Possible values
id
Unique id of the venue.
In order to have more detailed information related to a venue, a dedicated UOF API endpoint is available using the following call: /sports/en/venues/sr:venue:6030/profile.xml
String value, example:
id="sr:venue:6030"
name
Name of the venue
String value, example:
name="Scotiabank Arena"
capacity
Capacity of the venue
String value, example:
capacity="19800"
city_name
Name of the city where the venue is.
String value, example:
city_name="Toronto"
country_name
Name of the country where the venue is.
String value, example:
country_name="Canada"
map_coordinates
The GPS coordinates of the venue (comma separated).
String value, example:
map_coordinates="43.643333,-79.379167"
country_code
Code of the country where the venue is.
String value, example:
country_name="Canada"
Last updated
Was this helpful?