Go to file
2022-09-13 19:31:25 +12:00
.woodpecker Initial Commit 2022-09-13 19:31:25 +12:00
cmd/flatfinder Initial Commit 2022-09-13 19:31:25 +12:00
internal/flatfinder Initial Commit 2022-09-13 19:31:25 +12:00
.env.example Initial Commit 2022-09-13 19:31:25 +12:00
.gitignore Initial Commit 2022-09-13 19:31:25 +12:00
go.mod Initial Commit 2022-09-13 19:31:25 +12:00
go.sum Initial Commit 2022-09-13 19:31:25 +12:00
README.md Initial Commit 2022-09-13 19:31:25 +12:00

FlatFinder Bot

  • Uses the Trade Me API to grab new rental properties that have been recently listed
  • Checks if fibre and VDSL are available by querying Chorus
  • Includes travel times to various locations

Requirements

Optionals

  • Google Distance Matrix API Key (get a key)
  • Discord API key

Installation

  • Download latest build
  • Run with below exe with environment variables set

Configuration

Copy .env.exampleto .env and set variables. Leave blank to disable parts.

SINCE="2 hours ago"
DISCORD_WEBHOOK="abcd"
GOOGLE_API_KEY="abcd"
GOOGLE_LOCATION_1="42 Wallaby Way, Sydney"
GOOGLE_LOCATION_2="43 Wallaby Way, Sydney"
DISTRICTS="47,52"
BEDROOMS_MIN="2"
BEDROOMS_MAX="4"
PRICE_MAX="700"
PROPERTY_TYPE="House,Townhouse,Apartment"

Reference: http://developer.trademe.co.nz/api-reference/search-methods/rental-search/