Web service that, starting from a search by address, allows you to pull out real estate quotes, valuations and trends.
This method shows you the list of all property types
Array of objects (TipoImmobile) [ items ] | |
success | boolean |
message | string |
error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://test.valutometro.altravia.com/immobili"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "data": [
- {
- "id": "20",
- "label": "Abitazioni in stabili civili"
}, - {
- "id": "19",
- "label": "Abitazioni in stabili signorili"
}, - {
- "id": "21",
- "label": "Abitazioni in stabili economici"
}, - {
- "id": "1",
- "label": "Ville e Villini"
}, - {
- "id": "6",
- "label": "Uffici"
}, - {
- "id": "5",
- "label": "Negozi"
}
], - "success": true,
- "message": "",
- "error": null
}
This method shows you the specific type of property
id required | string Default: "<string>" Example: 20 Property type |
object (TipoImmobile) | |
success | boolean |
message | string |
error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://test.valutometro.altravia.com/immobili/%7Bid%7D"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "data": {
- "id": "20",
- "label": "Abitazioni in stabili civili"
}, - "success": true,
- "message": "",
- "error": null
}
This method shows you the list of all contract types
Array of objects (TipoContratto) [ items ] | |
success | boolean |
message | string |
error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://test.valutometro.altravia.com/contratti"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "data": [
- {
- "id": "rent",
- "label": "Affitto"
}, - {
- "id": "sale",
- "label": "Vendita"
}
], - "success": true,
- "message": "",
- "error": null
}
This method shows you the specific type of contract
id required | string Default: "<string>" Example: rent Contract type |
object (TipoContratto) | |
success | boolean |
message | string |
error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://test.valutometro.altravia.com/contratti/%7Bid%7D"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);