Get Indoor Style

GET
https://api.woosmap.com/indoor/style

Returns the style layers.

Rate limit: 20/1s

Authorization

private_key
apiKey query
X-Api-Key
apiKey header
key
apiKey query

Query Parameters

theme
string

The theme to apply to customize the style

Example: woosmap_default
language
string Defaults to en

A supported language as an ISO 639-1 2 letter code.

Response

200 application/json

OK

No properties defined

Errors

401

Unauthorized

application/json
detail
string required
402

Payment Required

application/json

No properties defined

403

Forbidden

application/json

No properties defined

422

Unprocessable Entity

application/json
detail
object[] required

The validation errors.

context
object required

Context

        curl -L -X GET 'https://api.woosmap.com/indoor/style?language=en&theme=woosmap_default&key=YOUR_PUBLIC_API_KEY' \
-H 'Referer: http://localhost'

    
        import requests

url = "https://api.woosmap.com/indoor/style?language=en&theme=woosmap_default&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/style?language=en&theme=woosmap_default&key=YOUR_PUBLIC_API_KEY", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));

    
Was this helpful?