Skip to content

Add searching for places - #251

Open
walthowd wants to merge 1 commit into
bretterer:mainfrom
walthowd:feat/place-search
Open

walthowd wants to merge 1 commit into
bretterer:mainfrom
walthowd:feat/place-search

Conversation

@walthowd

@walthowd walthowd commented Nov 14, 2026 •

Copy link
Copy Markdown
  • search_places: the app's map search. Returns place id, name, address, coordinates, and driving distance and time.
  • suggest_places: autocomplete suggestions for type-ahead
  • utils.place_url: the app's link for a result. Sending it with send_location_to_vehicle makes the vehicle show the place's name.

No paired phone key needed.

Tested

Against the live API: searches return in under a second, suggestions in about 0.1 s. The API ignores maxResults, so there's no limit parameter.

- `search_places` searches like the Rivian app's map search (its `places`
  query): results with a Google place id, name, address, coordinates and
  the driving distance and time from where you search.
- `suggest_places` returns the app's suggested search texts for partial
  text (the same query with autocomplete), such as "restaurants" and "Red
  Lobster" for "RE", for type-ahead in front of `search_places`.
- `utils.place_url` builds the Rivian app's link for a result, which
  `send_location_to_vehicle` sends so the vehicle shows the place's name.

None of them needs a paired phone key.

Tested against the API: a search returned Google's results in under a
second, in their own order rather than nearest first, and suggestions came
back in about a tenth of a second. `maxResults` was ignored, so it is left
out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FxWHBTrHU6eTPotwMWgtJF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant