GoogleSearchResults
Field | Description | Type |
---|---|---|
*results | Paginated list of POI. | POISearchResults |
paging | Response pagination. | Paging |
POISearchResults
Field | Description | Type | Examples |
---|---|---|---|
*pois | List of POI search results. | array[POISearchResult] |
POISearchResult
Field | Description | Type | Examples |
---|---|---|---|
*id | Hashed identifier of the POI, also referred as {poi_id} . |
string | EujqFHQra7ypyuBEgyFiXw |
*name | Name of the POI. | string | Circus Maximus |
*address | Textual address of the POI along with its spatial coordinates. | Address | |
industry | Identifies the super-typology of the POI. | string | Dictionary |
Paging
Field | Description | Type |
---|---|---|
last | A relative URI to the last page. | string |
first | A relative URI to the first page. | string |
prev | A relative URI to the previous page. | string |
next | A relative URI to the next page. | string |
current | A relative URI to the current page. | string |
pages | A set of relative URIs calculated around the current page. | Page |
elements | All indexes shown on the current page. | array[int] |
total | The number of all elements that API can retrieve. | int |
size | The selected page size. | int |
Page
Field | Description | Type |
---|---|---|
number | Number of the page. | int |
uri | URI of the page. | string |
Example
{
"results": {
"pois": [
{
"id": "HhmfX9vTUpKGJX96Hseshh",
"name": "Plaza Lucchesi Hotel",
"address": {
"fullAddress": "Lungarno della Zecca Vecchia, 38, 50122 Firenze FI, Italy",
"latitude": 43.766609,
"longitude": 11.263381
},
"industry": "hospitality"
}
]
},
"paging": {
"last": "/search/google/ChIJ0SxLAfhTKhMRzushPx_GJOM?page=1&page_size=25",
"first": "/search/google/ChIJ0SxLAfhTKhMRzushPx_GJOM?page=1&page_size=25",
"prev": null,
"next": null,
"current": "/search/google/ChIJ0SxLAfhTKhMRzushPx_GJOM?page=1&page_size=25",
"pages": [
{
"number": 1,
"uri": "/search/google/ChIJ0SxLAfhTKhMRzushPx_GJOM?page=1&page_size=25"
}
],
"elements": [
1
],
"total": 1,
"size": 25
}
}