Python Zillow API call
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
add a comment |
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
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
add a comment |
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
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
python zillow
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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.
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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