This is a simple PHP Wrapper for the Zillow API services.
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
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
MIT license.