Python Zillow API call










0














I'm trying to get the Zillow ID using the following code:



from pyzillow.pyzillow import ZillowWrapper, GetDeepSearchResults,GetUpdatedPropertyDetails
address = '1600 Pennsylvania Ave NW, Washington, DC'
zipcode = '20006'
zillow_data = ZillowWrapper('API Key')
deep_search_response = zillow_data.get_deep_search_results(address,zipcode)
result = GetDeepSearchResults(deep_search_response)
print(result.zillow_id)


Any thoughts on why the above isn't working? Here is the error:



ZillowFail Traceback (most recent call last)
<ipython-input-12-7f34d0e7b6f0> in <module>()
3 zipcode = '60053'
4 zillow_data = ZillowWrapper('API Key')
----> 5 deep_search_response = zillow_data.get_deep_search_results(address,zipcode)
6 result = GetDeepSearchResults(deep_search_response)
7 print(result.zillow_id)

/home/mfranzidis/pyenvs/numeric/lib/python2.7/site-packages/pyzillow/pyzillow.pyc in get_deep_search_results(self, address, zipcode)
29 'zws-id': self.api_key
30 }
---> 31 return self.get_data(url, params)
32
33 def get_updated_property_details(self, zpid):

/home/mfranzidis/pyenvs/numeric/lib/python2.7/site-packages/pyzillow/pyzillow.pyc in get_data(self, url, params)
62 requests.exceptions.TooManyRedirects,
63 requests.exceptions.Timeout):
---> 64 raise ZillowFail
65
66 try:

ZillowFail:









share|improve this question























  • Please be more detailed about what "isn't working" means!
    – Klaus D.
    Nov 13 '18 at 2:22










  • Sure, I'll add it into the question now. Unfortunately, the error doesn't make any sense to me, hopefully it will to you :)
    – Mike
    Nov 13 '18 at 13:01















0














I'm trying to get the Zillow ID using the following code:



from pyzillow.pyzillow import ZillowWrapper, GetDeepSearchResults,GetUpdatedPropertyDetails
address = '1600 Pennsylvania Ave NW, Washington, DC'
zipcode = '20006'
zillow_data = ZillowWrapper('API Key')
deep_search_response = zillow_data.get_deep_search_results(address,zipcode)
result = GetDeepSearchResults(deep_search_response)
print(result.zillow_id)


Any thoughts on why the above isn't working? Here is the error:



ZillowFail Traceback (most recent call last)
<ipython-input-12-7f34d0e7b6f0> in <module>()
3 zipcode = '60053'
4 zillow_data = ZillowWrapper('API Key')
----> 5 deep_search_response = zillow_data.get_deep_search_results(address,zipcode)
6 result = GetDeepSearchResults(deep_search_response)
7 print(result.zillow_id)

/home/mfranzidis/pyenvs/numeric/lib/python2.7/site-packages/pyzillow/pyzillow.pyc in get_deep_search_results(self, address, zipcode)
29 'zws-id': self.api_key
30 }
---> 31 return self.get_data(url, params)
32
33 def get_updated_property_details(self, zpid):

/home/mfranzidis/pyenvs/numeric/lib/python2.7/site-packages/pyzillow/pyzillow.pyc in get_data(self, url, params)
62 requests.exceptions.TooManyRedirects,
63 requests.exceptions.Timeout):
---> 64 raise ZillowFail
65
66 try:

ZillowFail:









share|improve this question























  • Please be more detailed about what "isn't working" means!
    – Klaus D.
    Nov 13 '18 at 2:22










  • Sure, I'll add it into the question now. Unfortunately, the error doesn't make any sense to me, hopefully it will to you :)
    – Mike
    Nov 13 '18 at 13:01













0












0








0







I'm trying to get the Zillow ID using the following code:



from pyzillow.pyzillow import ZillowWrapper, GetDeepSearchResults,GetUpdatedPropertyDetails
address = '1600 Pennsylvania Ave NW, Washington, DC'
zipcode = '20006'
zillow_data = ZillowWrapper('API Key')
deep_search_response = zillow_data.get_deep_search_results(address,zipcode)
result = GetDeepSearchResults(deep_search_response)
print(result.zillow_id)


Any thoughts on why the above isn't working? Here is the error:



ZillowFail Traceback (most recent call last)
<ipython-input-12-7f34d0e7b6f0> in <module>()
3 zipcode = '60053'
4 zillow_data = ZillowWrapper('API Key')
----> 5 deep_search_response = zillow_data.get_deep_search_results(address,zipcode)
6 result = GetDeepSearchResults(deep_search_response)
7 print(result.zillow_id)

/home/mfranzidis/pyenvs/numeric/lib/python2.7/site-packages/pyzillow/pyzillow.pyc in get_deep_search_results(self, address, zipcode)
29 'zws-id': self.api_key
30 }
---> 31 return self.get_data(url, params)
32
33 def get_updated_property_details(self, zpid):

/home/mfranzidis/pyenvs/numeric/lib/python2.7/site-packages/pyzillow/pyzillow.pyc in get_data(self, url, params)
62 requests.exceptions.TooManyRedirects,
63 requests.exceptions.Timeout):
---> 64 raise ZillowFail
65
66 try:

ZillowFail:









share|improve this question















I'm trying to get the Zillow ID using the following code:



from pyzillow.pyzillow import ZillowWrapper, GetDeepSearchResults,GetUpdatedPropertyDetails
address = '1600 Pennsylvania Ave NW, Washington, DC'
zipcode = '20006'
zillow_data = ZillowWrapper('API Key')
deep_search_response = zillow_data.get_deep_search_results(address,zipcode)
result = GetDeepSearchResults(deep_search_response)
print(result.zillow_id)


Any thoughts on why the above isn't working? Here is the error:



ZillowFail Traceback (most recent call last)
<ipython-input-12-7f34d0e7b6f0> in <module>()
3 zipcode = '60053'
4 zillow_data = ZillowWrapper('API Key')
----> 5 deep_search_response = zillow_data.get_deep_search_results(address,zipcode)
6 result = GetDeepSearchResults(deep_search_response)
7 print(result.zillow_id)

/home/mfranzidis/pyenvs/numeric/lib/python2.7/site-packages/pyzillow/pyzillow.pyc in get_deep_search_results(self, address, zipcode)
29 'zws-id': self.api_key
30 }
---> 31 return self.get_data(url, params)
32
33 def get_updated_property_details(self, zpid):

/home/mfranzidis/pyenvs/numeric/lib/python2.7/site-packages/pyzillow/pyzillow.pyc in get_data(self, url, params)
62 requests.exceptions.TooManyRedirects,
63 requests.exceptions.Timeout):
---> 64 raise ZillowFail
65
66 try:

ZillowFail:






python zillow






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 '18 at 13:04









Azat Ibrakov

3,92171330




3,92171330










asked Nov 13 '18 at 1:13









MikeMike

47411128




47411128











  • Please be more detailed about what "isn't working" means!
    – Klaus D.
    Nov 13 '18 at 2:22










  • Sure, I'll add it into the question now. Unfortunately, the error doesn't make any sense to me, hopefully it will to you :)
    – Mike
    Nov 13 '18 at 13:01
















  • Please be more detailed about what "isn't working" means!
    – Klaus D.
    Nov 13 '18 at 2:22










  • Sure, I'll add it into the question now. Unfortunately, the error doesn't make any sense to me, hopefully it will to you :)
    – Mike
    Nov 13 '18 at 13:01















Please be more detailed about what "isn't working" means!
– Klaus D.
Nov 13 '18 at 2:22




Please be more detailed about what "isn't working" means!
– Klaus D.
Nov 13 '18 at 2:22












Sure, I'll add it into the question now. Unfortunately, the error doesn't make any sense to me, hopefully it will to you :)
– Mike
Nov 13 '18 at 13:01




Sure, I'll add it into the question now. Unfortunately, the error doesn't make any sense to me, hopefully it will to you :)
– Mike
Nov 13 '18 at 13:01












1 Answer
1






active

oldest

votes


















0














This looks like an issue with the Zillow API. As you can see it's failing with a requests too many redirects exception, so probably something ends up in a redirect loop on their API side:



/home/mfranzidis/pyenvs/numeric/lib/python2.7/site-packages/pyzillow/pyzillow.pyc in get_data(self, url, params)
62 requests.exceptions.TooManyRedirects,


This is not handled very well by their library which seems to throw a ZillowFail exception with an empty message in this case.






share|improve this answer




















  • thanks for the response. What does too many redirects mean, and do you know how I would go about resolving it? Thanks
    – Mike
    Nov 13 '18 at 13:43










  • since it appears to be an unofficial library which was last updated in 2015, I'd suggest trying out an more up to date implementation such as github.com/seme0021/python-zillow
    – Uku Loskit
    Nov 13 '18 at 13:56










  • Checking now, thank you
    – Mike
    Nov 13 '18 at 14:05










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53272353%2fpython-zillow-api-call%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














This looks like an issue with the Zillow API. As you can see it's failing with a requests too many redirects exception, so probably something ends up in a redirect loop on their API side:



/home/mfranzidis/pyenvs/numeric/lib/python2.7/site-packages/pyzillow/pyzillow.pyc in get_data(self, url, params)
62 requests.exceptions.TooManyRedirects,


This is not handled very well by their library which seems to throw a ZillowFail exception with an empty message in this case.






share|improve this answer




















  • thanks for the response. What does too many redirects mean, and do you know how I would go about resolving it? Thanks
    – Mike
    Nov 13 '18 at 13:43










  • since it appears to be an unofficial library which was last updated in 2015, I'd suggest trying out an more up to date implementation such as github.com/seme0021/python-zillow
    – Uku Loskit
    Nov 13 '18 at 13:56










  • Checking now, thank you
    – Mike
    Nov 13 '18 at 14:05















0














This looks like an issue with the Zillow API. As you can see it's failing with a requests too many redirects exception, so probably something ends up in a redirect loop on their API side:



/home/mfranzidis/pyenvs/numeric/lib/python2.7/site-packages/pyzillow/pyzillow.pyc in get_data(self, url, params)
62 requests.exceptions.TooManyRedirects,


This is not handled very well by their library which seems to throw a ZillowFail exception with an empty message in this case.






share|improve this answer




















  • thanks for the response. What does too many redirects mean, and do you know how I would go about resolving it? Thanks
    – Mike
    Nov 13 '18 at 13:43










  • since it appears to be an unofficial library which was last updated in 2015, I'd suggest trying out an more up to date implementation such as github.com/seme0021/python-zillow
    – Uku Loskit
    Nov 13 '18 at 13:56










  • Checking now, thank you
    – Mike
    Nov 13 '18 at 14:05













0












0








0






This looks like an issue with the Zillow API. As you can see it's failing with a requests too many redirects exception, so probably something ends up in a redirect loop on their API side:



/home/mfranzidis/pyenvs/numeric/lib/python2.7/site-packages/pyzillow/pyzillow.pyc in get_data(self, url, params)
62 requests.exceptions.TooManyRedirects,


This is not handled very well by their library which seems to throw a ZillowFail exception with an empty message in this case.






share|improve this answer












This looks like an issue with the Zillow API. As you can see it's failing with a requests too many redirects exception, so probably something ends up in a redirect loop on their API side:



/home/mfranzidis/pyenvs/numeric/lib/python2.7/site-packages/pyzillow/pyzillow.pyc in get_data(self, url, params)
62 requests.exceptions.TooManyRedirects,


This is not handled very well by their library which seems to throw a ZillowFail exception with an empty message in this case.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 13 '18 at 13:14









Uku LoskitUku Loskit

30.3k86879




30.3k86879











  • thanks for the response. What does too many redirects mean, and do you know how I would go about resolving it? Thanks
    – Mike
    Nov 13 '18 at 13:43










  • since it appears to be an unofficial library which was last updated in 2015, I'd suggest trying out an more up to date implementation such as github.com/seme0021/python-zillow
    – Uku Loskit
    Nov 13 '18 at 13:56










  • Checking now, thank you
    – Mike
    Nov 13 '18 at 14:05
















  • thanks for the response. What does too many redirects mean, and do you know how I would go about resolving it? Thanks
    – Mike
    Nov 13 '18 at 13:43










  • since it appears to be an unofficial library which was last updated in 2015, I'd suggest trying out an more up to date implementation such as github.com/seme0021/python-zillow
    – Uku Loskit
    Nov 13 '18 at 13:56










  • Checking now, thank you
    – Mike
    Nov 13 '18 at 14:05















thanks for the response. What does too many redirects mean, and do you know how I would go about resolving it? Thanks
– Mike
Nov 13 '18 at 13:43




thanks for the response. What does too many redirects mean, and do you know how I would go about resolving it? Thanks
– Mike
Nov 13 '18 at 13:43












since it appears to be an unofficial library which was last updated in 2015, I'd suggest trying out an more up to date implementation such as github.com/seme0021/python-zillow
– Uku Loskit
Nov 13 '18 at 13:56




since it appears to be an unofficial library which was last updated in 2015, I'd suggest trying out an more up to date implementation such as github.com/seme0021/python-zillow
– Uku Loskit
Nov 13 '18 at 13:56












Checking now, thank you
– Mike
Nov 13 '18 at 14:05




Checking now, thank you
– Mike
Nov 13 '18 at 14:05

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53272353%2fpython-zillow-api-call%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

In R, how to develop a multiplot heatmap.2 figure showing key labels successfully

Museum of Modern and Contemporary Art of Trento and Rovereto