Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for AVM

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

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.1
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

go get "github.com/Enbisys/avmGo"

Documentation for API Endpoints

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

Documentation For Models

Example

package main

import (
	"context"
	"fmt"
	"github.com/Enbisys/avmGo"
)

func main() {
    additionalFeatures := &avm.AdditionalFeatures{
        RoofInsulation: avm.ROOF_INSULATION_PARTIAL,
    }

    requiredFeatures := &avm.RequiredFeatures{
	Postcode:            "b1 1TB",
	NewOrResale:         avm.NEW_OR_RESALE_RESALE,
	FloorLevel:          avm.FLOOR_LEVEL_FLOOR_5,
	TotalFloorAreaInSqf: 200,
	PropertyType:        avm.PROPERTY_TYPE_TERRACED_HOUSE,
	NumberOfRooms:       3,
    }

    propertyFeatures := avm.PropertyFeatures{
	AdditionalFeatures: *additionalFeatures,
	RequiredFeatures:   *requiredFeatures,
    }

    config := avm.NewConfiguration()
    config.AddDefaultHeader("X-API-KEY", "SET YOUR TOKEN HERE!")

    r, _, _ := avm.NewAPIClient(config).DefaultApi.GetFastValuation(context.Background(), propertyFeatures)
    fmt.Println(r)
}

Author

enbisys.com

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages