Giter Site home page Giter Site logo

retnzestimate? about python-zillow HOT 17 OPEN

seme0021 avatar seme0021 commented on August 30, 2024
retnzestimate?

from python-zillow.

Comments (17)

nitrocode avatar nitrocode commented on August 30, 2024 1

@bhoscheit I don't think spamming all the issues is the best way to get help

from python-zillow.

jecronin avatar jecronin commented on August 30, 2024 1

@pmdbt that would be great thank you! Sidebar: I talked to Max awhile back and he took me through Lofty. Amazing product, awesome work

from python-zillow.

RyanConway91 avatar RyanConway91 commented on August 30, 2024

Any updates on this? I am trying to get rent estimates for properties which I know have them (can view them through the zillow app) but cannot seem to get this information from the API wrapper. Any idea how to fix this? I am assuming the "retnzestimate"typo is part of the issue, as with "retnzestimate" you would not be accessing the "rentzestimate" property of API. I fixed these typos in the code I downloaded but still not getting the results.

from python-zillow.

bhoscheit avatar bhoscheit commented on August 30, 2024

from python-zillow.

RyanConway91 avatar RyanConway91 commented on August 30, 2024

Hey Ben, got it working! Found the updated code and it is working now. What do you mean "project"?

Thanks

from python-zillow.

bhoscheit avatar bhoscheit commented on August 30, 2024

from python-zillow.

RyanConway91 avatar RyanConway91 commented on August 30, 2024

Oh okay I thought maybe "project" that was github lingo for something. I am trying automate an realestate investment calculator for the Minneapolis area.

from python-zillow.

bhoscheit avatar bhoscheit commented on August 30, 2024

from python-zillow.

RyanConway91 avatar RyanConway91 commented on August 30, 2024

Thanks!

from python-zillow.

RyanConway91 avatar RyanConway91 commented on August 30, 2024

from python-zillow.

pmdbt avatar pmdbt commented on August 30, 2024

@RyanConway91 Hey Ryan, thanks for putting this repo together. I followed your code here:

api = zillow.ValuationApi()
        data = api.GetDeepSearchResults(key, address, postal_code,rentzestimate = True)
        data_dict = data.get_dict()
        bdrms = data_dict['extended_data']['bedrooms']
        bthrms = data_dict['extended_data']['bathrooms']
        sqft = data_dict['extended_data']['bathrooms']
        lot_sqft = data_dict['extended_data']['lot_size_sqft']
        tax_ass = float(data_dict['extended_data']['tax_assessment'])
        tax_rate = 1.81/100
        tax = tax_ass*tax_rate

        rent_zest = data_dict['rentzestimate']['amount']
        rent_zest_high = data_dict['rentzestimate']['valuation_range_high']
        rent_zest_low = data_dict['rentzestimate']['valuation_range_low']

However, I was getting an error:

TypeError: GetDeepSearchResults( ) got an unexpected keyword argument 'rentzestimate'

So, I looked at your source code and it appears you've made a syntax/spelling error on this line:

def GetDeepSearchResults(self, zws_id, address, citystatezip, retnzestimate=False):

You spelled rentzestimate as retnzestimate. The method "GetSearchResult()" has the same typo as well. Thought you should know and make a quick update :). I'm using version 0.2.0 for reference.

@nitrocode pointed this out in his original comment as well, but it doesn't appear to be fixed everywhere.

from python-zillow.

jecronin avatar jecronin commented on August 30, 2024

@RyanConway91 circling back on @nitrocode and @pmdbt's notes. How is the spelling issue affecting the ability to pull in rentzestimate from the API? For example, if you go to this URL the rentzestimate is displayed in the XML but it is not when you call the Valuation API in python. The rent zestimate with the price would be great to do ROI calcs at scale for a batch of properties, all within python Thank you for your help!

https://www.zillow.com/webservice/GetSearchResults.htm?zws-id=X1-ZWz1h9tnvngv7v_31kch&address=11820+Melones+Circle&citystatezip=Gold+River%2c+CA&rentzestimate=True

image

from python-zillow.

nitrocode avatar nitrocode commented on August 30, 2024

It might be time to fork this repo or use another zillow package or another realestate api package

from python-zillow.

pmdbt avatar pmdbt commented on August 30, 2024

from python-zillow.

RyanConway91 avatar RyanConway91 commented on August 30, 2024

from python-zillow.

jecronin avatar jecronin commented on August 30, 2024

@RyanConway91, I've submitted a pull request to update the retnzestimate typos to rentzestimate. Thank you for your help!

from python-zillow.

thaskef avatar thaskef commented on August 30, 2024

It would be amazing if we can get the rent estimate fixed. As is, everything works in a Google Colab notebook except for that. I wish someone could help so I don't have to go back and redo it all on a local machine.

from python-zillow.

Related Issues (17)

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.