Taxonomies Location Region
Retrieves the region name by point or by ID.
Example Request
curl -X GET --location 'https://comparables-gr.realitycs.it/taxonomies/location/region?regionID=105103' \
--header 'Authorization: Bearer <token>'
Response
{
"_metadata": {
"query": {
"regionID": 105103
},
"total_count": 1
},
"items": [
{
"region": "Attica",
"regionID": 105103
}
]
}
Request args
(At least one of the following args is mandatory in the input)
| arg | type | Description |
|---|---|---|
| latitude | float | |
| longitude | float | |
| regionID | int |
Use these values in requests
Region
| ID | Value |
|---|---|
| 1 | Piemonte |
| 2 | Valle d'Aosta |
| 3 | Lombardia |
| 4 | Trentino-Alto Adige |
| 5 | Veneto |
| 6 | Friuli Venezia Giulia |
| 7 | Liguria |
| 8 | Emilia-Romagna |
| 9 | Toscana |
| 10 | Umbria |
| 11 | Marche |
| 12 | Lazio |
| 13 | Abruzzo |
| 14 | Molise |
| 15 | Campania |
| 16 | Puglia |
| 17 | Basilicata |
| 18 | Calabria |
| 19 | Sicilia |
| 20 | Sardegna |