GithubHelp home page GithubHelp logo

zillow's Introduction

Zillow, Laravel Wrapper

A simple Laravel Wrapper for the Zillow API services.

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

Requirements

depends on PHP 5.4+, Goutte 2.0+, Guzzle 4+.

Installation

Add yajra/zillow as a require dependency in your composer.json file:

Laravel 4

composer require yajra/zillow:~1.0

Laravel 5

composer require yajra/zillow:~2.0

Configuration

In your config/app.php add yajra\Zillow\ServiceProvider to the end of the providers array

'providers' => array(
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'yajra\Zillow\ServiceProvider',
),

At the end of config/app.php add Zillow => yajra\Zillow\Facade to the aliases array

'aliases' => array(
    'App'        => 'Illuminate\Support\Facades\App',
    'Artisan'    => 'Illuminate\Support\Facades\Artisan',
    ...
    'Zillow'    => 'yajra\Zillow\Facade',
),

Lastly, publish the config file:

Laravel 4

$ php artisan config:publish yajra/zillow

Laravel 5

$ php artisan vendor:publish

Then set your Zillow Web Services ID (ZWSID) by updating the zws-id value in

Laravel 4 app/config/packages/yajra/zillow/config.php

Laravel 5 config/zillow.php

###Usage

Make requests with a specific API call method:

$params = [
	'address' => '5400 Tujunga Ave',
	'citystatezip' => 'North Hollywood, CA 91601'
];
// Run GetSearchResults
$response = Zillow::getSearchResults($params);

Any Zillow API call will work. Valid callbacks 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.

Links

This package was inspired by Zillow, PHP Wrapper

zillow's People

Contributors

chaospower avatar jidagob avatar yajra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zillow's Issues

How to post property listing on Zillow

As our requirement is 

We are on the way to building the system in which we are posting the properties.
Basically our system is based on Renting System in which we have three roles like Landlord, Renter, and Agent.  The landlord will post the properties on our website and the renter will find and book.
So now we need to render our properties on your platform so that more renters can reach our website. 

So this is our main requirement. Your guidance will be highly appreciated. 

Guzzle requirement

I am using laravel 5.1 and in composer I am using this: "guzzlehttp/guzzle": "~5.3|~6.0"

I get this error: yajra/zillow v2.0.2 requires guzzlehttp/guzzle 4.* -> no matching package found. Should this script be updated to use a newer version of guzzle? Or?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.