This is api client library for AVM (automated valuation machine) - https://avm.enbisys.com/
Get instant and accurate Property Valuations and Predictive Analytics with our AI and Big Data tools. And make smart decisions faster
Python 2.7 and 3.4+
pip install avm_clientThen import the package:
import avm_clientfrom __future__ import print_function
import avm_client
from pprint import pprint
from avm_client import (
FloorLevel,
NewOrResale,
PropertyType,
LeaseholdOrFreehold,
)
from avm_client.rest import ApiException
configuration = avm_client.Configuration()
# Configure API key authorization: ApiKeyAuth
configuration.api_key['X-API-KEY'] = 'SET YOUR TOKEN HERE!'
configuration.host = "https://avm.enbisys.com/api"
# Create an instance of the API class
api_instance = avm_client.DefaultApi(avm_client.ApiClient(configuration))
required_features = avm_client.RequiredFeatures(
postcode="B1 1TB",
new_or_resale=NewOrResale.NEW,
floor_level=FloorLevel.FLOOR_3,
total_floor_area_in_sqf=143,
property_type=PropertyType.DETACHED_HOUSE,
number_of_rooms=3,
)
additional_features = avm_client.AdditionalFeatures(
price_of_previous_sale=500000,
date_of_previous_sale="2019-03-04",
leasehold_or_freehold=LeaseholdOrFreehold.FREEHOLD,
)
property_features = avm_client.PropertyFeatures(required_features, additional_features)
try:
price = api_instance.get_fast_valuation(property_features)
valuation = api_instance.get_valuation(property_features)
pprint(price)
pprint(valuation)
except ApiException as e:
print("Exception when calling DefaultApi->get_fast_valuation: %s\n" % e)All URIs are relative to https://avm.enbisys.com/api/
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DefaultApi | get_fast_valuation | POST /properties/getFastValuation | |
| DefaultApi | get_valuation | POST /properties/getValuation |
- AdditionalFeatures
- BuiltForm
- EnergyEfficiency
- EnergyRating
- FloorLevel
- LeaseholdOrFreehold
- NewOrResale
- Problem
- PropertyFeatures
- PropertyType
- RequiredFeatures
- RoofInsulation
- RoofType
- Valuation
- ValuationPriceDistribution
- WallInsulation
- WallType
- WindowGlazingType
- Type: API key
- API key parameter name: X-API-KEY
- Location: HTTP header
enbisys.com