See how busy a store is #
参数 #
路径参数
storeIdstring必填
响应 #
Cups in the queue and the expected wait.
{
"cups": 0,integer · ≥ 0 · 必填
"wait_minutes": 0integer · ≥ 0 · 必填
}
代码示例 #
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()

评论