Loading...
Loading...
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
npx skill4agent add steipete/clawdis local-placescd {baseDir}
echo "GOOGLE_PLACES_API_KEY=your-key" > .env
uv venv && uv pip install -e ".[dev]"
uv run --env-file .env uvicorn local_places.main:app --host 127.0.0.1 --port 8000GOOGLE_PLACES_API_KEY.envcurl http://127.0.0.1:8000/pingcurl -X POST http://127.0.0.1:8000/locations/resolve \
-H "Content-Type: application/json" \
-d '{"location_text": "Soho, London", "limit": 5}'curl -X POST http://127.0.0.1:8000/places/search \
-H "Content-Type: application/json" \
-d '{
"query": "coffee shop",
"location_bias": {"lat": 51.5137, "lng": -0.1366, "radius_m": 1000},
"filters": {"open_now": true, "min_rating": 4.0},
"limit": 10
}'curl http://127.0.0.1:8000/places/{place_id}location_biasfilters.typesfilters.price_levelsfilters.min_ratingfilters.open_nowlimitlocation_bias.radius_m{
"results": [
{
"place_id": "ChIJ...",
"name": "Coffee Shop",
"address": "123 Main St",
"location": { "lat": 51.5, "lng": -0.1 },
"rating": 4.6,
"price_level": 2,
"types": ["cafe", "food"],
"open_now": true
}
],
"next_page_token": "..."
}next_page_tokenpage_token