redfin

package
v0.0.0-...-1d38bd8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AVMResponse

type AVMResponse struct {
	Version int
	Payload struct {
		Root struct {
			AVMInfo struct {
				PredictedValue float64
			}
		} `json:"__root"`
	}
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(httpClient *http.Client) *Client

func (*Client) GetAutomatedValuationModel

func (c *Client) GetAutomatedValuationModel(propertyId string) (*AVMResponse, error)

func (*Client) SearchProperties

func (c *Client) SearchProperties(address string) (*SearchPropertiesResponse, error)

type SearchPropertiesResponse

type SearchPropertiesResponse struct {
	Version int
	Payload struct {
		Sections []struct {
			Rows []struct {
				ID      string
				Name    string
				SubName string
				URL     string
				Active  bool
			}
		}
		ExactMatch struct {
			ID      string
			Name    string
			SubName string
			URL     string
			Active  bool
		}
	}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL