File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11# zillow-python
2- A python wrapper for zillow
2+ A python wrapper for Zillow
3+
4+
5+ ## GetSearchResults
6+
7+
8+ ## GetZestimate
Original file line number Diff line number Diff line change 55
66class Zillow (object ):
77 """A python wrapper for the Zillow Home API"""
8- def __init__ (self , arg ):
8+ def __init__ (self ):
99 self .ZWSID = os .environ ['ZWSID' ]
1010 self .base = "https://www.zillow.com/webservice/"
1111
1212 def GetSearchResults (self , address , citystatezip ):
1313
1414 data = {'zws-id' : self .ZWSID ,'address' : address ,'citystatezip' : citystatezip }
1515
16- response = requests .get (base + "GetSearchResults.htm" ,params = data )
16+ response = requests .get (self . base + "GetSearchResults.htm" ,params = data )
1717 if response .status_code == 200 :
1818 return xmltodict .parse (response .text )
1919 else :
You can’t perform that action at this time.
0 commit comments