Add Places API (Details) support: photos, busyness, and stable place IDs
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
Start by reading the existing mapbox search forward and search category command implementations, especially how they expose mapbox_id. Then review the Mapbox Places Details API material linked in the request and determine the response shape for the proposed command. Done means a mapbox places details <mapbox_id> command returns photos, busyness, business attributes, and stable place IDs.
由索引模型根據 Issue 內容生成。
描述
Request
Add a command group for the Mapbox Places API — specifically the Details endpoint — so the CLI can return the enriched per-POI data that a coding agent can't get anywhere else: photos, busyness/popularity, business attributes, and stable place IDs.
Why
The CLI's headline pitch is giving an agent knowledge it doesn't have. Today the richest thing search returns is open hours, phone, and website — good, but the data that's genuinely unique to Mapbox lives behind the Places API and isn't reachable:
- Photos — high-quality photos via direct URLs (per the blog). An agent could render or link a place's photo.
- Busyness — a 0–100 activity score by hour and day of week. An agent could answer "is it busy right now" or chart the week's curve. Nothing else in the CLI exposes this, and no frontier model has it.
- Business attributes — cuisine, accessibility, seating, Wi-Fi, entrance vs. vehicle arrival points.
- Stable place IDs — persistent UUID anchors that survive data updates, so saved references don't break.
These are the demos that actually show the CLI's value. Geocoding a known address doesn't — the models already have it.
How it fits what's already here
The loop is half-built. mapbox search forward / search category already return a mapbox_id on every feature. The Places Details endpoint (public preview) takes exactly that mapbox_id and returns the enriched record. So this is a natural next command, e.g.:
# today: Search Box returns the id
mapbox search forward --q "Blue Bottle Coffee" --proximity -122.4194,37.7749 --limit 1
# -> properties.mapbox_id = "dXJuOm1ieHBvaToxZTM5YzE5Ny0..."
# proposed: Places Details enriches it
mapbox places details dXJuOm1ieHBvaToxZTM5YzE5Ny0...
# -> photos[], busyness, attributes, stable id
- 主要語言
- Rust
- 星號
- 13
- 分支
- 1
- 平均合併
- 2 天 4 小時
- 30 天內合併 PR
- 66
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
mapbox/mapbox-cli 的其他 Issue
-
enhancement
難度 4/5 3-5 天 新手友好度 66/100
mapbox/mapbox-cli#75 · 1 則留言 ·
維護者通常 1 天內回覆
-
enhancement
難度 4/5 3-5 天 新手友好度 52/100
mapbox/mapbox-cli#30 ·
維護者通常 1 天內回覆
查看 mapbox/mapbox-cli 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
wormhole-foundation/wormhole#5062 ·
維護者通常 1 天內回覆
-
RUSTSEC-2026-0348: Brotli certificate decompression can allocate up to 1 GiB before authentication未關閉
難度 2/5 1-3 小時 新手友好度 60/100
-
難度 1/5 1-3 小時 新手友好度 62/100
-
core: Amount::from_str panics on values above 21M BTC instead of returning an error可能已有人在做 @bhuvan-somisetty 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
crate: spate-s3
難度 2/5 半天 新手友好度 62/100
維護者通常 1 天內回覆