Giter VIP home page Giter VIP logo

zooplascreener's Introduction

Zoopla Screener

Building on my previous stock screener, and because at some point I will have to buy a flat in London, I coded this little Screener.

What it does:

Leaning on the public Zoopla Developer API, it runs a query for the flats and sends it straight away in a formatted table to my email address.

Installation Instructions

Tested with, and assumes you already have at your disposal:

  • Ubuntu 16.04;
  • Anaconda Python 3.5.3
  • Gmail email server.

Install git

sudo apt-get update
sudo apt-get install git

Copy the repository on your computer and rename the sample config file

git clone https://github.com/terzim/ZooplaScreener.git
cd ZooplaScreener
mv sample_zoopla_config.ini zoopla_config.ini

Install the python requirements

(sudo) conda install --yes --file requirements.txt  # If using Anaconda Python distribution

or

(sudo) pip3 install -r requirements.txt # If using a standard Python3 distributions

Get your API key

First thing first you need to open an account with Zoopla and get an API key

Configuration

Open the zoopla_config.ini file in your favourite text editor. Edit the configuration parameters accordingly.

The instructions are available at this link

Config file example

Sample config file:

[api_data]
api_key =

[flat_data_str]
area =
order_by =
ordering =
listing_status =
furnished =
property_type =
new_homes =
chain_free =
keywords =
summarised =

[flat_data_num]
radius =
include_sold =
include_rented =
minimum_price =
maximum_price =
minimum_beds =
maximum_beds =
listing_id =
branch_id =
page_number =
page_size =

[output]
output_fields =

[email_data]
send_email =
sender =
recipient =
pwd_sender =
server_name =
server_port =

Run the screen

The screen can be run one-off

python ZooplaScreener.py

or - in alternative - scheduled for periodical execution via crontab (and - possibly - a VPS). For instructions to setup crontab on a VPS, read a shorthand guide here.

Credits

Property information powered by Zoopla

zooplascreener's People

Contributors

terzim avatar

Stargazers

 avatar  avatar

Watchers

 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.