Autocomplete (New)
documentedGet place predictions based on user input.
POST https://places.googleapis.com/v1/places:autocompletePlaces 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:autocomplete" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "X-Goog-Api-Key: {{MAPS_API_KEY}}" \
-H "X-Goog-FieldMask: {{$fieldMask}}" \
-d '{"input": "{{$input}}", "locationBias": {"circle": {"center": {"latitude": {{$latitude}}, "longitude": {{$longitude}}}, "radius": {{$radius}}}}, "languageCode": "{{$languageCode}}", "sessionToken": "{{$sessionToken}}"}'