31 lines
453 B
Plaintext
31 lines
453 B
Plaintext
|
meta {
|
||
|
name: Google API
|
||
|
type: http
|
||
|
seq: 3
|
||
|
}
|
||
|
|
||
|
post {
|
||
|
url: https://places.googleapis.com/v1/places:searchNearby
|
||
|
body: json
|
||
|
auth: none
|
||
|
}
|
||
|
|
||
|
headers {
|
||
|
X-Goog-Api-Key: {{GOOGLE_API_KEY}}
|
||
|
}
|
||
|
|
||
|
body:json {
|
||
|
{
|
||
|
"includedTypes": ["restaurant"],
|
||
|
"maxResultCount": 10,
|
||
|
"locationRestriction": {
|
||
|
"circle": {
|
||
|
"center": {
|
||
|
"latitude": 37.7937,
|
||
|
"longitude": -122.3965},
|
||
|
"radius": 500.0
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|