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
- .NET 4.0 or later
- Windows Phone 7.1 (Mango)
add the following to packages.config
<PackageReference Include="Enbisys.AVM" Version="1.0.1" />
- RestSharp - 105.1.0 or later
- Json.NET - 7.0.0 or later
- JsonSubTypes - 1.2.0 or later
The DLLs included in the package may not be the latest version. We recommend using NuGet to obtain the latest version of the packages:
Install-Package RestSharp
Install-Package Newtonsoft.Json
Install-Package JsonSubTypes
NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See RestSharp#742
using System;
using System.Diagnostics;
using Enbisys.AVM.Api;
using Enbisys.AVM.Client;
using Enbisys.AVM.Model;
namespace Enbisys.AVM
{
public class Example
{
public static void Main()
{
Configuration.Default.BasePath = "https://avm.enbisys.com/api";
Configuration.Default.ApiKey.Add("X-API-KEY", "SET YOUR TOKEN HERE!");
var apiInstance = new DefaultApi(Configuration.Default);
var requiredFeatures = new RequiredFeatures
(
"B1 1TB",
NewOrResale.New,
FloorLevel.Basement,
160,
PropertyType.Semidetachedhouse,
6
);
var propertyFeatures = new PropertyFeatures
(
requiredFeatures
);
try
{
var result = apiInstance.GetFastValuation(propertyFeatures);
var valuation = apiInstance.GetValuation(propertyFeatures);
Console.WriteLine("Current price: " + result);
Console.WriteLine("Price range is: " + valuation.PriceRangeFrom + " - " + valuation.PriceRangeTo);
}
catch (ApiException e)
{
Debug.Print(e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}All URIs are relative to https://avm.enbisys.com/api
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DefaultApi | GetFastValuation | POST /properties/getFastValuation | |
| DefaultApi | GetValuation | POST /properties/getValuation |
- Model.AdditionalFeatures
- Model.BuiltForm
- Model.EnergyEfficiency
- Model.EnergyRating
- Model.FloorLevel
- Model.LeaseholdOrFreehold
- Model.NewOrResale
- Model.Problem
- Model.PropertyFeatures
- Model.PropertyType
- Model.RequiredFeatures
- Model.RoofInsulation
- Model.RoofType
- Model.Valuation
- Model.ValuationPriceDistribution
- Model.WallInsulation
- Model.WallType
- Model.WindowGlazingType
-
Type: API key
-
API key parameter name: X-API-KEY
-
Location: HTTP header