Nearby Search (New)
documentedFind places near a location.
POST https://places.googleapis.com/v1/places:searchNearbyPlaces API (New)no implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://places.googleapis.com/v1/places:searchNearby" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-Goog-Api-Key: {{MAPS_API_KEY}}" \
-H "X-Goog-FieldMask: places.displayName" \
-d '{
"languageCode": "{{$languageCode}}",
"regionCode": "{{$regionCode}}",
"includedTypes": {{$includedTypes}},
"excludedTypes": {{$excludedTypes}},
"includedPrimaryTypes": {{$includedPrimaryTypes}},
"excludedPrimaryTypes": {{$excludedPrimaryTypes}},
"maxResultCount": {{$maxResultCount}},
"locationRestriction": {
"circle": {
"center": {
"latitude": {{$latitude}},
"longitude": {{$longitude}}
},
"radius": {{$radius}}
}
},
"rankPreference": "DISTANCE"
}'"