Skip to content

pyzillow is a python library to access the Zillow APIs

License

Notifications You must be signed in to change notification settings

KayoticEntropy/pyzillow

 
 

Repository files navigation

PyZillow

image

image

image

image

image

Python API wrapper for Zillow's API

Documentation available here: http://pyzillow.readthedocs.org/en/latest/

Currrently it is supporting the GetDeepSearchResults and GetUpdatedPropertyDetails API.

It allows you to directly convert an address/zipcode (GetDeepSearchResults API) or zillow id (GetUpdatedPropertyDetails API) into real estate data based on the Zillow database.

Installation

You can install this package using pip:

pip install pyzillow

or download the source from https://github.com/hanneshapke/pyzillow and install

python setup.py install

Usage of the GetDeepSearchResults API

from pyzillow import ZillowWrapper, GetDeepSearchResults ... address = 'YOUR ADDRESS' zipcode = 'YOUR ZIPCODE' ... zillow_data = ZillowWrapper(YOUR_ZILLOW_API_KEY) deep_search_response = zillow_data.get_deep_search_results(address, zipcode) result = GetDeepSearchResults(deep_search_response) ... result.zillow_id # zillow id, needed for the GetUpdatedPropertyDetails

The following attributes are currently supported:

  • zillow_id
  • home_type
  • home_detail_link
  • graph_data_link
  • map_this_home_link
  • latitude
  • latitude
  • coordinates (as GEOS point)
  • tax_year
  • tax_value
  • year_built
  • property_size
  • home_size
  • bathrooms
  • bedrooms
  • last_sold_date
  • last_sold_price_currency
  • last_sold_price
  • zestimate_amount
  • zestimate_last_updated
  • zestimate_value_change
  • zestimate_valuation_range_high
  • zestimate_valuationRange_low
  • zestimate_percentile

Usage of the GetUpdatedPropertyDetails API

from pyzillow import ZillowWrapper, GetUpdatedPropertyDetails ... zillow_id = 'YOUR ZILLOW ID' ... zillow_data = ZillowWrapper(YOUR_ZILLOW_API_KEY) updated_property_details_response = zillow_data.get_updated_property_details(zillow_id) result = GetUpdatedPropertyDetails(updated_property_details_response) ... result.rooms # number of rooms of the home

The following attributes are currently supported:

  • zillow_id
  • home_type
  • home_detail_link
  • photo_gallery
  • latitude
  • latitude
  • coordinates (as GEOS point)
  • year_built
  • property_size
  • home_size
  • bathrooms
  • bedrooms
  • home_info
  • year_updated
  • floor_material
  • num_floors
  • basement
  • roof
  • view
  • parking_type
  • heating_sources
  • heating_system
  • rooms
  • home_description
  • neighborhood
  • school_district

The following attributes are not provided by the API:

  • graph_data_link
  • map_this_home_link
  • tax_year
  • tax_value
  • last_sold_date
  • last_sold_price_currency
  • last_sold_price

Contact Information

Author: Hannes Hapke (renooble) Twitter: @hanneshapke Internet: https://hanneshapke.github.io/

For comments, issues, requests, please contact via Github at the above website

About

pyzillow is a python library to access the Zillow APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.1%
  • Makefile 5.9%