See how busy a store is #
Parameters #
Path
storeIdstringrequired
Responses #
Cups in the queue and the expected wait.
{
"cups": 0,integer · ≥ 0 · required
"wait_minutes": 0integer · ≥ 0 · required
}
Code samples #
curl "https://api.kawa-coffee.example/v2/stores/st_shanghai_01/queue"const response = await fetch('https://api.kawa-coffee.example/v2/stores/st_shanghai_01/queue')
const data = await response.json()import requests
response = requests.get(
"https://api.kawa-coffee.example/v2/stores/st_shanghai_01/queue",
)
data = response.json()

Comments