Get Venue By Key
GET
https://api.woosmap.com/indoor/venues/{venue_id}
Returns a Venue based on the ID given.
Rate limit: 20/1s
Authorization
Path Parameters
venue_id
string required
Response
OK
venue_id
string required
name
string required
bbox
array required
routing_profiles
string[]
categories
string[]
buildings
object[]
Show 8 propertiesHide 8 properties
languages
string[] required
updated_at
string (date-time) required
curl -L -X GET 'https://api.woosmap.com/indoor/venues/west_pal?key=YOUR_PUBLIC_API_KEY' \
-H 'Referer: http://localhost'
import requests
url = "https://api.woosmap.com/indoor/venues/west_pal?key=YOUR_PUBLIC_API_KEY"
payload={}
headers = {
'Referer': 'http://localhost'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
var requestOptions = {
method: 'GET',
redirect: 'follow'
};
fetch("https://api.woosmap.com/indoor/venues/west_pal?key=YOUR_PUBLIC_API_KEY", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
{
"bbox": [
-0.1258015,
51.4981306,
-0.1236527,
51.5008191
],
"buildings": [
{
"cover": null,
"description": null,
"levels": [
{
"bbox": [
-0.1258015,
51.4981306,
-0.1236527,
51.5008191
],
"level": 1,
"name": "Palace of Westminster",
"ref": "Ground"
}
],
"localized_name": {},
"logo": null,
"name": "Palace of Westminster",
"opening_hours": null,
"ref": "Palace of Westminster"
}
],
"categories": [],
"languages": [],
"levels": [
{
"bbox": [
-0.1258015,
51.4981306,
-0.1236527,
51.5008191
],
"level": 1,
"name": "Palace of Westminster",
"ref": "Ground"
}
],
"name": "Westminster palace",
"routing_profiles": [],
"updated_at": "2023-07-17T13:11:32.267Z",
"venue_id": "west_pal"
}