Git Product home page Git Product logo

ppr-go's Introduction

Property Price Register CLI (unoffical)

Go Report Card ci

This cli allows you to query the sales listed on https://www.propertypriceregister.ie

Installation

Using go

$ go get github.com/robtec/ppr-go/cmd/...

or head over to Releases

Usage

Use the following syntax to run ppr commands from your terminal window

$ ppr [options] address

available options

  • -c - county to search, default Galway
  • -yf - year from to search, default 2010
  • -yt - year to search to, default next year now.Year() + 1
  • -o - change output, options are json, default table

Example

$ ppr -c mayo -yf 2019 castlebar

+------------+--------------------------------+----------------+
|    DATE    |            ADDRESS             |     PRICE      |
+------------+--------------------------------+----------------+
| 20/12/2019 | DUMMY, CASTLEBAR, MAYO         | €45,500.00     |
+------------+--------------------------------+----------------+
| 19/12/2019 | LANE, CASTLEBAR, MAYO          | €321,000.00    |
+------------+--------------------------------+----------------+
| 17/12/2019 | SPRINGFIELD, CASTLEBAR,        | €543,000.00    |
|            | MAYO                           |                |
+------------+--------------------------------+----------------+
| 17/12/2019 | MICKY MOUSE DRIVE, CASTLEBAR   | €99,000.00     |
+------------+--------------------------------+----------------+
| 13/12/2019 | 123 FAKE ROAD, CASTLEBAR, CO   | €75,000.00     |
|            | MAYO                           |                |
+------------+--------------------------------+----------------+
# real addresses/prices omitted for privacy
...

JSON output

$ ppr -o json -c mayo -yf 2019 castlebar

{
    "sales": [
        {
            "date": "20/12/2019",
            "price": "€45,500.00",
            "address": "DUMMY, CASTLEBAR, MAYO "
        },
        {
            "date": "19/12/2019",
            "price": "€321,000.00",
            "address": "LANE, CASTLEBAR, MAYO"
        },
        {
            "date": "17/12/2019",
            "price": "€543,000.00",
            "address": "SPRINGFIELD, CASTLEBAR, MAYO"
        },
        {
            "date": "17/12/2019",
            "price": "€99,000.00",
            "address": "MICKY MOUSE DRIVE, CASTLEBAR"
        },
        {
            "date": "13/12/2019",
            "price": "€75,000.00",
            "address": "123 FAKE ROAD, CASTLEBAR, CO MAYO"
        }]
}

ppr-go's People

Contributors

robtec avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.