brentmullen/zillow-api

Simple PHP wrapper for Zillow API

v1.0.1 2017-06-12 13:54 UTC

This package is auto-updated.

Last update: 2024-11-05 20:13:41 UTC


README

This is a simple PHP Wrapper for the Zillow API services.

Requirements

depends on PHP 5.4+, Guzzle 4+.

##Installation

Add brentmullen/zillow-api as a require dependency in your composer.json file:

php composer.phar require brentmullen/zillow-api:1.0.0

Usage

use ZillowApi\ZillowApiClient;

$client = new ZillowApiClient('zws-id');

Make requests with a specific API call method:

// Run GetSearchResults
$response = $client->execute(
    'GetSearchResults', 
    [
        'address' => '1600 Pennsylvania Ave NW', 
        'citystatezip' => 'Washington DC 20006'
    ]
);

Any Zillow API call will work. Valid methods are:

  • GetZestimate
  • GetSearchResults
  • GetChart
  • GetComps
  • GetDeepComps
  • GetDeepSearchResults
  • GetUpdatedPropertyDetails
  • GetDemographics
  • GetRegionChildren
  • GetRegionChart
  • GetRateSummary
  • GetMonthlyPayments
  • CalculateMonthlyPaymentsAdvanced
  • CalculateAffordability
  • CalculateRefinance
  • CalculateAdjustableMortgage
  • CalculateMortgageTerms
  • CalculateDiscountPoints
  • CalculateBiWeeklyPayment
  • CalculateNoCostVsTraditional
  • CalculateTaxSavings
  • CalculateFixedVsAdjustableRate
  • CalculateInterstOnlyVsTraditional
  • CalculateHELOC

License

MIT license.