alquemie/zillow-api

Simple PHP wrapper for Zillow API

1.6.0 2018-10-23 22:39 UTC

This package is auto-updated.

Last update: 2024-09-24 12:28:50 UTC


README

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

Requirements

depends on PHP 5.4+, Guzzle 6+.

##Installation

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

php composer.phar require alquemie/zillow-api:1.6.0

Usage

use ZillowApi\ZillowApiClient;

$client = new ZillowApiClient('zws-id');
use ZillowApi\ZillowMortgageApiClient;

$client = new ZillowMortgageApiClient('partner-id');

Make requests with a specific API call method:

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

Valid Zillow API calls 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

Valid Zillow Mortgage API calls are:

  • zillowLenderReviews

License

MIT license.