Hari Sekhon - Google-Maps-Restaurants
December 14, 2025 ยท View on GitHub
NOT READY YET
TODO: update Codacy grade link below - it's a hash so cannot be predicted to replace via ./customize.sh
Summary
Finds and opens browser tabs of restaurants within a 2km radius which have a 4.5+ star rating (both configurable).
I use this a lot as I travel the world since I'm always looking for good places to eat and recording the best ones, are you can see in my extensive worldwide Travel Tips.
Setup Instructions
-
Set up a Google Cloud account
-
Enable Google Maps Places API (not enabled by default)
-
Enable Google Maps Geocoding API
-
Create an API Key and ensure it has permissions to the above APIs. This may take 5 minutes for the changes to take effect
-
Put your API Key in your shell and don't forget to add it to your
.bashrcor similar:
export GOOGLE_MAPS_API_KEY=...
Wait 5 minutes and then test you can access the places API:
curl "https://maps.googleapis.com/maps/api/geocode/json?address=Panajachel&key=$GOOGLE_MAPS_API_KEY"
Usage
TODO work-in-progress...
./main.go ...
TODO:
Ensure to update Codacy Grade link manually after adding this repo to Codacy since the link is a hash and therefore cannot be predicted for replacement by ./customize.sh
More Core Repos
Knowledge
DevOps Code
Containerization
CI/CD
Databases - DBA - SQL
DevOps Reloaded
Monitoring
Templates
Desktop
Spotify
The rest of my original source repos are here.
Pre-built Docker images are available on my DockerHub.