Skip to content

Instantly share code, notes, and snippets.

View randychipman's full-sized avatar

Randy Chipman randychipman

View GitHub Profile
@randychipman
randychipman / lookup-google-place-ids.ts
Created April 16, 2026 22:31
LSA: Google Places lookup + reviews refresh scripts
/**
* One-time script: look up the Google Place ID for each community by name + address.
*
* Usage:
* cd scripts && npx tsx lookup-google-place-ids.ts # all communities
* cd scripts && npx tsx lookup-google-place-ids.ts --dry-run # log proposed matches, don't write
* cd scripts && npx tsx lookup-google-place-ids.ts --only-missing # default: skip ones that already have a Place ID
* cd scripts && npx tsx lookup-google-place-ids.ts --force # re-lookup even if already set
*
* Environment: