入門
快速入門
三個步驟連接代理並取得即時等候時間。試用不需金鑰:不使用金鑰每天可呼叫 100 次。
連接 Waity
MCP 用戶端會取得三個工具:
find_waits、get_wait與 get_history。REST API 不需設定,基礎 URL 為https://api.waity.ai。{ "mcpServers": { "waity": { "url": "https://api.waity.ai/mcp" } } }詢問等候時間
在 MCP 用戶端中,用平常的話提問:「El Paso 的過境口岸現在要等多久?」使用 REST 時,以地點名稱、城市或位置呼叫
GET /v1/places。curl "https://api.waity.ai/v1/places?q=El+Paso&category=border&view=minimal"解讀回應
原樣轉述
summary,先向使用者讀出warnings,並顯示attribution各行。200回應
{ "query": { "q": "El Paso", "category": ["border"], "view": "minimal", … }, "coverage": "live", "places": [ { "place": { "id": "pl_…", "name": "Ysleta Standard", "category": "border", … }, "summary": "About 7 min, posted by CBP, updated 9 min ago.", "now": { "status": "live", "usable": true, "value": 7, "unit": "min", … }, "links": { "details": "https://api.waity.ai/v1/places/pl_…?view=full", … } } ], "notes": [ … ],每天 100 次不夠用?免費金鑰每天 1,000 次:請見金鑰與方案。