Introduction
Zillgoog demonstrates an example of what can be achieved using Zillow’s real estate content service and Google’s maps/street view service. The back end is written in php. JQuery is used for the street view dialog box.
This is a fully functional demo. Enter an address above to see the result.
To access the Zillow web service, most of the api requires a street address and either city/state or zip. We will leverage Google's geocoder web service to take in a single string for the address and find an exact address match which can then be supplied to the Zillow web service.
This code does not utilize a framework. It is meant to be as simple as possible so that you can see some of the concepts used to mash Zillow and Google maps together. You are strongly encouraged to take these concepts and put them in your own framework.
Dependencies
- >= php 5.2.x
- php curl extension
- Pillow PHP Zillow client
Install this demo
- Download this demo’s source code here.
-
$ wget http://github.com/robap/zillgoog/tarball/master
- Download the Pillow PHP Zillow client
- Extract Pillow somewhere
-
$ wget http://github.com/robap/pillow/tarball/master $ tar -zxvf robap-pillow-3cc404a.tar.gz $ mv robap-pillow-3cc404a pillow
Configure
- Get your zillow web services id here
- Set your Zillow key and path to the pillow library.
-
$_SERVER['ZILLOW_API_KEY'] = 'your zillow key'; $_SERVER['PILLOW_INSTALL'] = 'path/to/pillow/lib';
Browsers Tested
- Firefox
- Google Chrome
- Safari