POIsRates
| Field | Description | Type | Examples |
|---|---|---|---|
| *results | Paginated list of POIs. | array[POIRates] | |
| paging | Response pagination. | Paging |
POIRates
| Field | Description | Type | Examples |
|---|---|---|---|
| *name | Description of the POI. | string | Piazza del Duomo |
| *overall | Rates overall data for the corresponding timeframe. |
LocationRatesPoiOverall | |
| *saturation | Saturation data for the corresponding timeframe. |
Saturation | |
| *location | Location of the POI in spatial coordinates. | Coordinates | |
| *poi_class | Hotel stars rating in the range [1,5], only for POI with "poi_category": "hotel". |
int | 4 |
| *poi_category | Identifies the sub-typology of the POI. | string | Dictionary |
| *poi_industry | Identifies the super-typology of the POI. | string | Dictionary |
| *city | City to which the POI belongs. | string | Firenze |
| *address | Textual address of the POI. | string | Piazza del Duomo |
| picture | URL of an image related to the POI. | string | https://media-cdn.tripadvisor.com/media/photo-s/0d/8f/e0/42/solarium.jpg |
Coordinates
| Field | Description | Type | Examples |
|---|---|---|---|
| *latitude | Latitude expressed in the range [-90, 90]. | decimal | 43.7730912 |
| *longitude | Longitude expressed in the range [-180, 180]. | decimal | 11.2554649 |
LocationRatesPoiOverall
| Field | Description | Type | Examples |
|---|---|---|---|
| average | Average accommodation offers price in Euros. | decimal | 88.44 |
| *percentiles | Accommodation offers percentiles values expressed in Euros. | array[Percentile] |
Percentile
| Field | Description | Type | Examples |
|---|---|---|---|
| *request | Requested percentile expressed in the range (0, 1), e.g. 0.5 (the median). | decimal | 0.5 |
| *response | Resulting value of the request percentile. |
decimal | 73.00 |
Saturation
| Field | Description | Type | Examples |
|---|---|---|---|
| *total_offers | Total number of accommodation offers. | int | 1106 |
| *available_offers | Number of available accommodation offers. | int | 729 |
| *saturation | Occupancy ratio in the range [0,100] calculated by the following formula. |
decimal | 34.09 |
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 |