rubillow 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. data/.gitignore +6 -0
  2. data/.rspec +2 -0
  3. data/.yardopts +4 -0
  4. data/Gemfile +3 -0
  5. data/Gemfile.lock +43 -0
  6. data/LICENSE +21 -0
  7. data/README.md +64 -0
  8. data/Rakefile +38 -0
  9. data/lib/rubillow.rb +29 -0
  10. data/lib/rubillow/configuration.rb +31 -0
  11. data/lib/rubillow/home_valuation.rb +141 -0
  12. data/lib/rubillow/models.rb +83 -0
  13. data/lib/rubillow/models/addressable.rb +38 -0
  14. data/lib/rubillow/models/chart.rb +34 -0
  15. data/lib/rubillow/models/comps.rb +35 -0
  16. data/lib/rubillow/models/deep_comps.rb +35 -0
  17. data/lib/rubillow/models/deep_search_result.rb +44 -0
  18. data/lib/rubillow/models/demographic_value.rb +28 -0
  19. data/lib/rubillow/models/demographics.rb +149 -0
  20. data/lib/rubillow/models/images.rb +24 -0
  21. data/lib/rubillow/models/linkable.rb +39 -0
  22. data/lib/rubillow/models/monthly_payments.rb +64 -0
  23. data/lib/rubillow/models/posting.rb +37 -0
  24. data/lib/rubillow/models/postings.rb +64 -0
  25. data/lib/rubillow/models/property_basics.rb +36 -0
  26. data/lib/rubillow/models/property_chart.rb +26 -0
  27. data/lib/rubillow/models/rate_summary.rb +38 -0
  28. data/lib/rubillow/models/region.rb +44 -0
  29. data/lib/rubillow/models/region_chart.rb +30 -0
  30. data/lib/rubillow/models/region_children.rb +30 -0
  31. data/lib/rubillow/models/search_result.rb +19 -0
  32. data/lib/rubillow/models/updated_property_details.rb +87 -0
  33. data/lib/rubillow/models/zestimateable.rb +77 -0
  34. data/lib/rubillow/models/zpidable.rb +25 -0
  35. data/lib/rubillow/mortgage.rb +75 -0
  36. data/lib/rubillow/neighborhood.rb +129 -0
  37. data/lib/rubillow/postings.rb +46 -0
  38. data/lib/rubillow/property_details.rb +107 -0
  39. data/lib/rubillow/request.rb +67 -0
  40. data/lib/rubillow/version.rb +4 -0
  41. data/rubillow.gemspec +31 -0
  42. data/spec/rubillow/configuration_spec.rb +10 -0
  43. data/spec/rubillow/home_valuation_spec.rb +91 -0
  44. data/spec/rubillow/models/comps_spec.rb +71 -0
  45. data/spec/rubillow/models/deep_comps_spec.rb +93 -0
  46. data/spec/rubillow/models/deep_search_results_spec.rb +47 -0
  47. data/spec/rubillow/models/demographics_spec.rb +60 -0
  48. data/spec/rubillow/models/monthly_payments_spec.rb +20 -0
  49. data/spec/rubillow/models/posting_spec.rb +28 -0
  50. data/spec/rubillow/models/postings_spec.rb +15 -0
  51. data/spec/rubillow/models/property_chart_spec.rb +18 -0
  52. data/spec/rubillow/models/rate_summary_spec.rb +14 -0
  53. data/spec/rubillow/models/region_chart_spec.rb +19 -0
  54. data/spec/rubillow/models/region_children_spec.rb +11 -0
  55. data/spec/rubillow/models/search_result_spec.rb +68 -0
  56. data/spec/rubillow/models/updated_property_details_spec.rb +57 -0
  57. data/spec/rubillow/models_spec.rb +46 -0
  58. data/spec/rubillow/mortgage_spec.rb +37 -0
  59. data/spec/rubillow/neighborhood_spec.rb +55 -0
  60. data/spec/rubillow/postings_spec.rb +19 -0
  61. data/spec/rubillow/property_details_spec.rb +67 -0
  62. data/spec/rubillow/request_spec.rb +65 -0
  63. data/spec/rubillow/rubillow_spec.rb +13 -0
  64. data/spec/spec_helper.rb +15 -0
  65. data/spec/support/have_configuration_matcher.rb +23 -0
  66. data/spec/xml/general_failure.xml +12 -0
  67. data/spec/xml/get_chart.xml +18 -0
  68. data/spec/xml/get_comps.xml +252 -0
  69. data/spec/xml/get_deep_comps.xml +307 -0
  70. data/spec/xml/get_deep_search_results.xml +66 -0
  71. data/spec/xml/get_demographics.xml +791 -0
  72. data/spec/xml/get_monthly_payments.xml +33 -0
  73. data/spec/xml/get_rate_summary.xml +21 -0
  74. data/spec/xml/get_region_chart.xml +25 -0
  75. data/spec/xml/get_region_children.xml +870 -0
  76. data/spec/xml/get_region_postings.xml +2660 -0
  77. data/spec/xml/get_search_results.xml +55 -0
  78. data/spec/xml/get_updated_property_details.xml +74 -0
  79. data/spec/xml/get_zestimate.xml +56 -0
  80. data/spec/xml/near_limit.xml +13 -0
  81. metadata +324 -0
@@ -0,0 +1,65 @@
1
+ require "spec_helper"
2
+
3
+ describe Rubillow::Request, ".get" do
4
+ let(:request) { stub("Request", :get => response) }
5
+ let(:response) { stub("Response", :body => '<?xml version="1.0" encoding="utf-8"?>', :code => 200) }
6
+ let(:zwsid) { "xyz123-oo" }
7
+
8
+ before do
9
+ Rubillow::Request.stubs(:uri).returns("/")
10
+ Rubillow::Request.stubs(:request).returns(request)
11
+ end
12
+
13
+ it "constructs the request URI" do
14
+ Rubillow::Request.get("/", :option => 1)
15
+ Rubillow::Request.should have_received(:uri).with("/", :option => 1)
16
+ end
17
+
18
+ it "includes access key when configured" do
19
+ Rubillow.configuration.zwsid = zwsid
20
+ Rubillow::Request.get("/")
21
+ Rubillow::Request.should have_received(:uri).with("/", :zws_id => zwsid)
22
+ end
23
+
24
+ it "allows overriding of configured access key" do
25
+ Rubillow.configuration.zwsid = zwsid
26
+ Rubillow::Request.get("/", :zws_id => "abc890_11")
27
+ Rubillow::Request.should have_received(:uri).with("/", :zws_id => "abc890_11")
28
+ end
29
+
30
+ it "makes an API request" do
31
+ Rubillow::Request.get("/")
32
+ request.should have_received(:get).with("/")
33
+ end
34
+
35
+ it "returns the XML for a successful response" do
36
+ Rubillow::Request.get("/").should == '<?xml version="1.0" encoding="utf-8"?>'
37
+ end
38
+
39
+ it "returns false for any response code other than 200" do
40
+ response.stubs(:code => "401")
41
+ Rubillow::Request.get("/").should == false
42
+ end
43
+ end
44
+
45
+ describe Rubillow::Request, ".request" do
46
+ it "creates a new HTTP client" do
47
+ Rubillow::Request.request.should be_a(Net::HTTP)
48
+ end
49
+
50
+ it "connects to configured host and port" do
51
+ Rubillow::Request.request.address.should == Rubillow.configuration.host
52
+ Rubillow::Request.request.port.should == Rubillow.configuration.port
53
+ end
54
+
55
+ it "sets configured open and read timeouts" do
56
+ Rubillow::Request.request.open_timeout.should == Rubillow.configuration.http_open_timeout
57
+ Rubillow::Request.request.read_timeout.should == Rubillow.configuration.http_read_timeout
58
+ end
59
+ end
60
+
61
+ describe Rubillow::Request, ".uri" do
62
+ it "generates a request path and query string based on parameters" do
63
+ Rubillow::Request.uri("GetRegionChart", { :key_with_spaces => 12, :normal => "maybe", :camelCased => 1340}).should == "/webservice/GetRegionChart.htm?camelCased=1340&key-with-spaces=12&normal=maybe"
64
+ end
65
+ end
@@ -0,0 +1,13 @@
1
+ require "spec_helper"
2
+
3
+ describe Rubillow do
4
+ it "allows setting configuration as a block" do
5
+ Rubillow.configure do |config|
6
+ config.http_open_timeout = 10
7
+ config.http_read_timeout = 30
8
+ end
9
+
10
+ Rubillow.configuration.http_open_timeout.should == 10
11
+ Rubillow.configuration.http_read_timeout.should == 30
12
+ end
13
+ end
@@ -0,0 +1,15 @@
1
+ require File.expand_path("../../lib/rubillow", __FILE__)
2
+ require 'rspec'
3
+ require "bourne"
4
+
5
+ Dir[File.expand_path("../support/**/*.rb", __FILE__)].each do |file|
6
+ require file
7
+ end
8
+
9
+ RSpec.configure do |config|
10
+ config.mock_with :mocha
11
+ end
12
+
13
+ def get_xml(file)
14
+ File.open(File.expand_path("../xml/" + file, __FILE__)).read
15
+ end
@@ -0,0 +1,23 @@
1
+ RSpec::Matchers.define :have_configuration_option do |option|
2
+ match do |configuration|
3
+ configuration.should respond_to(option)
4
+
5
+ if instance_variables.include?("@default")
6
+ configuration.send(option).should == @default
7
+ end
8
+
9
+ configuration.__send__(:"#{option}=", "value")
10
+ configuration.__send__(option).should == "value"
11
+ end
12
+
13
+ chain :default do |default|
14
+ @default = default
15
+ end
16
+
17
+ failure_message do
18
+ description = "expected #{subject} to have"
19
+ description << " configuration option #{option.inspect}"
20
+ description << " with a default of #{@default.inspect}" if instance_variables.include?("@default")
21
+ description
22
+ end
23
+ end
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <SearchResults:searchresults xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SearchResults="http://www.zillow.com/static/xsd/SearchResults.xsd" xsi:schemaLocation="http://www.zillow.com/static/xsd/SearchResults.xsd http://www.zillowstatic.com/vstatic/6b4ea3e571a1ef97dd8f1e6be94b2725/static/xsd/SearchResults.xsd">
3
+ <request>
4
+ <address/>
5
+ <citystatezip/>
6
+ </request>
7
+ <message>
8
+ <text>Error: invalid or missing ZWSID parameter</text>
9
+ <code>2</code>
10
+ </message>
11
+ </SearchResults:searchresults>
12
+ <!-- H:117 T:0ms S:150 R:Fri Aug 26 12:53:30 PDT 2011 B:3.0.121144.20110823141116-comp_rel_b -->
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Chart:chart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Chart="http://www.zillow.com/static/xsd/Chart.xsd" xsi:schemaLocation="http://www.zillow.com/static/xsd/Chart.xsd http://www.zillowstatic.com/vstatic/6b4ea3e571a1ef97dd8f1e6be94b2725/static/xsd/Chart.xsd">
3
+ <request>
4
+ <zpid>48749425</zpid>
5
+ <unit-type>percent</unit-type>
6
+ <width>300</width>
7
+ <height>150</height>
8
+ </request>
9
+ <message>
10
+ <text>Request successfully processed</text>
11
+ <code>0</code>
12
+ </message>
13
+ <response>
14
+ <url>http://www.zillow.com/app?chartDuration=1year&amp;chartType=partner&amp;height=150&amp;page=webservice%2FGetChart&amp;service=chart&amp;showPercent=true&amp;width=300&amp;zpid=48749425</url>
15
+ <graphsanddata>http://www.zillow.com/homedetails/2114-Bigelow-Ave-N-Seattle-WA-98109/48749425_zpid/#charts-and-data</graphsanddata>
16
+ </response>
17
+ </Chart:chart>
18
+ <!-- H:120 T:11ms S:233 R:Fri Aug 26 12:58:24 PDT 2011 B:3.0.121144.20110823141116-comp_rel_b -->
@@ -0,0 +1,252 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Comps:comps xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Comps="http://www.zillow.com/static/xsd/Comps.xsd" xsi:schemaLocation="http://www.zillow.com/static/xsd/Comps.xsd http://www.zillowstatic.com/vstatic/6b4ea3e571a1ef97dd8f1e6be94b2725/static/xsd/Comps.xsd">
3
+ <request>
4
+ <zpid>48749425</zpid>
5
+ <count>5</count>
6
+ </request>
7
+ <message>
8
+ <text>Request successfully processed</text>
9
+ <code>0</code>
10
+ </message>
11
+ <response>
12
+ <properties>
13
+ <principal>
14
+ <zpid>48749425</zpid>
15
+ <links>
16
+ <homedetails>http://www.zillow.com/homedetails/2114-Bigelow-Ave-N-Seattle-WA-98109/48749425_zpid/</homedetails>
17
+ <graphsanddata>http://www.zillow.com/homedetails/2114-Bigelow-Ave-N-Seattle-WA-98109/48749425_zpid/#charts-and-data</graphsanddata>
18
+ <mapthishome>http://www.zillow.com/homes/48749425_zpid/</mapthishome>
19
+ <myestimator>http://www.zillow.com/myestimator/Edit.htm?zprop=48749425</myestimator>
20
+ <myzestimator deprecated="true">http://www.zillow.com/myestimator/Edit.htm?zprop=48749425</myzestimator>
21
+ <comparables>http://www.zillow.com/homes/comps/48749425_zpid/</comparables>
22
+ </links>
23
+ <address>
24
+ <street>2114 Bigelow Ave N</street>
25
+ <zipcode>98109</zipcode>
26
+ <city>Seattle</city>
27
+ <state>WA</state>
28
+ <latitude>47.637933</latitude>
29
+ <longitude>-122.347938</longitude>
30
+ </address>
31
+ <zestimate>
32
+ <amount currency="USD">1032000</amount>
33
+ <last-updated>08/24/2011</last-updated>
34
+ <oneWeekChange deprecated="true"/>
35
+ <valueChange duration="30" currency="USD">5900</valueChange>
36
+ <valuationRange>
37
+ <low currency="USD">866880</low>
38
+ <high currency="USD">1259040</high>
39
+ </valuationRange>
40
+ <percentile>95</percentile>
41
+ </zestimate>
42
+ <localRealEstate>
43
+ <region id="271856" type="neighborhood" name="East Queen Anne">
44
+ <links>
45
+ <overview>http://www.zillow.com/local-info/WA-Seattle/East-Queen-Anne/r_271856/</overview>
46
+ <forSaleByOwner>http://www.zillow.com/homes/fsbo/East-Queen-Anne-Seattle-WA/</forSaleByOwner>
47
+ <forSale>http://www.zillow.com/homes/for_sale/East-Queen-Anne-Seattle-WA/</forSale>
48
+ </links>
49
+ </region>
50
+ </localRealEstate>
51
+ </principal>
52
+ <comparables>
53
+ <comp score="0.0813344">
54
+ <zpid>48768095</zpid>
55
+ <links>
56
+ <homedetails>http://www.zillow.com/homedetails/2538-Mayfair-Ave-N-Seattle-WA-98109/48768095_zpid/</homedetails>
57
+ <graphsanddata>http://www.zillow.com/homedetails/2538-Mayfair-Ave-N-Seattle-WA-98109/48768095_zpid/#charts-and-data</graphsanddata>
58
+ <mapthishome>http://www.zillow.com/homes/48768095_zpid/</mapthishome>
59
+ <myestimator>http://www.zillow.com/myestimator/Edit.htm?zprop=48768095</myestimator>
60
+ <myzestimator deprecated="true">http://www.zillow.com/myestimator/Edit.htm?zprop=48768095</myzestimator>
61
+ <comparables>http://www.zillow.com/homes/comps/48768095_zpid/</comparables>
62
+ </links>
63
+ <address>
64
+ <street>2538 Mayfair Ave N</street>
65
+ <zipcode>98109</zipcode>
66
+ <city>Seattle</city>
67
+ <state>WA</state>
68
+ <latitude>47.642566</latitude>
69
+ <longitude>-122.352512</longitude>
70
+ </address>
71
+ <zestimate>
72
+ <amount currency="USD">584400</amount>
73
+ <last-updated>08/24/2011</last-updated>
74
+ <oneWeekChange deprecated="true"/>
75
+ <valueChange duration="30" currency="USD">-100</valueChange>
76
+ <valuationRange>
77
+ <low currency="USD">449988</low>
78
+ <high currency="USD">625308</high>
79
+ </valuationRange>
80
+ <percentile>75</percentile>
81
+ </zestimate>
82
+ <localRealEstate>
83
+ <region id="271942" type="neighborhood" name="North Queen Anne">
84
+ <links>
85
+ <overview>http://www.zillow.com/local-info/WA-Seattle/North-Queen-Anne/r_271942/</overview>
86
+ <forSaleByOwner>http://www.zillow.com/homes/fsbo/North-Queen-Anne-Seattle-WA/</forSaleByOwner>
87
+ <forSale>http://www.zillow.com/homes/for_sale/North-Queen-Anne-Seattle-WA/</forSale>
88
+ </links>
89
+ </region>
90
+ </localRealEstate>
91
+ </comp>
92
+ <comp score="0.0674681">
93
+ <zpid>48690326</zpid>
94
+ <links>
95
+ <homedetails>http://www.zillow.com/homedetails/1612-Warren-Ave-N-Seattle-WA-98109/48690326_zpid/</homedetails>
96
+ <graphsanddata>http://www.zillow.com/homedetails/1612-Warren-Ave-N-Seattle-WA-98109/48690326_zpid/#charts-and-data</graphsanddata>
97
+ <mapthishome>http://www.zillow.com/homes/48690326_zpid/</mapthishome>
98
+ <myestimator>http://www.zillow.com/myestimator/Edit.htm?zprop=48690326</myestimator>
99
+ <myzestimator deprecated="true">http://www.zillow.com/myestimator/Edit.htm?zprop=48690326</myzestimator>
100
+ <comparables>http://www.zillow.com/homes/comps/48690326_zpid/</comparables>
101
+ </links>
102
+ <address>
103
+ <street>1612 Warren Ave N</street>
104
+ <zipcode>98109</zipcode>
105
+ <city>Seattle</city>
106
+ <state>WA</state>
107
+ <latitude>47.633573</latitude>
108
+ <longitude>-122.354064</longitude>
109
+ </address>
110
+ <zestimate>
111
+ <amount currency="USD">1167500</amount>
112
+ <last-updated>08/24/2011</last-updated>
113
+ <oneWeekChange deprecated="true"/>
114
+ <valueChange duration="30" currency="USD">85400</valueChange>
115
+ <valuationRange>
116
+ <low currency="USD">898975</low>
117
+ <high currency="USD">1482725</high>
118
+ </valuationRange>
119
+ <percentile>97</percentile>
120
+ </zestimate>
121
+ <localRealEstate>
122
+ <region id="271856" type="neighborhood" name="East Queen Anne">
123
+ <links>
124
+ <overview>http://www.zillow.com/local-info/WA-Seattle/East-Queen-Anne/r_271856/</overview>
125
+ <forSaleByOwner>http://www.zillow.com/homes/fsbo/East-Queen-Anne-Seattle-WA/</forSaleByOwner>
126
+ <forSale>http://www.zillow.com/homes/for_sale/East-Queen-Anne-Seattle-WA/</forSale>
127
+ </links>
128
+ </region>
129
+ </localRealEstate>
130
+ </comp>
131
+ <comp score="0.0906162">
132
+ <zpid>48689869</zpid>
133
+ <links>
134
+ <homedetails>http://www.zillow.com/homedetails/1606-Nob-Hill-Ave-N-Seattle-WA-98109/48689869_zpid/</homedetails>
135
+ <graphsanddata>http://www.zillow.com/homedetails/1606-Nob-Hill-Ave-N-Seattle-WA-98109/48689869_zpid/#charts-and-data</graphsanddata>
136
+ <mapthishome>http://www.zillow.com/homes/48689869_zpid/</mapthishome>
137
+ <myestimator>http://www.zillow.com/myestimator/Edit.htm?zprop=48689869</myestimator>
138
+ <myzestimator deprecated="true">http://www.zillow.com/myestimator/Edit.htm?zprop=48689869</myzestimator>
139
+ <comparables>http://www.zillow.com/homes/comps/48689869_zpid/</comparables>
140
+ </links>
141
+ <address>
142
+ <street>1606 Nob Hill Ave N</street>
143
+ <zipcode>98109</zipcode>
144
+ <city>Seattle</city>
145
+ <state>WA</state>
146
+ <latitude>47.633416</latitude>
147
+ <longitude>-122.350494</longitude>
148
+ </address>
149
+ <zestimate>
150
+ <amount currency="USD">750100</amount>
151
+ <last-updated>08/24/2011</last-updated>
152
+ <oneWeekChange deprecated="true"/>
153
+ <valueChange duration="30" currency="USD">2700</valueChange>
154
+ <valuationRange>
155
+ <low currency="USD">652587</low>
156
+ <high currency="USD">877617</high>
157
+ </valuationRange>
158
+ <percentile>87</percentile>
159
+ </zestimate>
160
+ <localRealEstate>
161
+ <region id="271856" type="neighborhood" name="East Queen Anne">
162
+ <links>
163
+ <overview>http://www.zillow.com/local-info/WA-Seattle/East-Queen-Anne/r_271856/</overview>
164
+ <forSaleByOwner>http://www.zillow.com/homes/fsbo/East-Queen-Anne-Seattle-WA/</forSaleByOwner>
165
+ <forSale>http://www.zillow.com/homes/for_sale/East-Queen-Anne-Seattle-WA/</forSale>
166
+ </links>
167
+ </region>
168
+ </localRealEstate>
169
+ </comp>
170
+ <comp score="0.11865">
171
+ <zpid>48689978</zpid>
172
+ <links>
173
+ <homedetails>http://www.zillow.com/homedetails/352-Blaine-St-Seattle-WA-98109/48689978_zpid/</homedetails>
174
+ <graphsanddata>http://www.zillow.com/homedetails/352-Blaine-St-Seattle-WA-98109/48689978_zpid/#charts-and-data</graphsanddata>
175
+ <mapthishome>http://www.zillow.com/homes/48689978_zpid/</mapthishome>
176
+ <myestimator>http://www.zillow.com/myestimator/Edit.htm?zprop=48689978</myestimator>
177
+ <myzestimator deprecated="true">http://www.zillow.com/myestimator/Edit.htm?zprop=48689978</myzestimator>
178
+ <comparables>http://www.zillow.com/homes/comps/48689978_zpid/</comparables>
179
+ </links>
180
+ <address>
181
+ <street>352 Blaine St</street>
182
+ <zipcode>98109</zipcode>
183
+ <city>Seattle</city>
184
+ <state>WA</state>
185
+ <latitude>47.635005</latitude>
186
+ <longitude>-122.350517</longitude>
187
+ </address>
188
+ <zestimate>
189
+ <amount currency="USD">760000</amount>
190
+ <last-updated>08/24/2011</last-updated>
191
+ <oneWeekChange deprecated="true"/>
192
+ <valueChange duration="30" currency="USD">-400</valueChange>
193
+ <valuationRange>
194
+ <low currency="USD">661200</low>
195
+ <high currency="USD">881600</high>
196
+ </valuationRange>
197
+ <percentile>88</percentile>
198
+ </zestimate>
199
+ <localRealEstate>
200
+ <region id="271856" type="neighborhood" name="East Queen Anne">
201
+ <links>
202
+ <overview>http://www.zillow.com/local-info/WA-Seattle/East-Queen-Anne/r_271856/</overview>
203
+ <forSaleByOwner>http://www.zillow.com/homes/fsbo/East-Queen-Anne-Seattle-WA/</forSaleByOwner>
204
+ <forSale>http://www.zillow.com/homes/for_sale/East-Queen-Anne-Seattle-WA/</forSale>
205
+ </links>
206
+ </region>
207
+ </localRealEstate>
208
+ </comp>
209
+ <comp score="0.123937">
210
+ <zpid>48690151</zpid>
211
+ <links>
212
+ <homedetails>http://www.zillow.com/homedetails/161-Crockett-St-Seattle-WA-98109/48690151_zpid/</homedetails>
213
+ <graphsanddata>http://www.zillow.com/homedetails/161-Crockett-St-Seattle-WA-98109/48690151_zpid/#charts-and-data</graphsanddata>
214
+ <mapthishome>http://www.zillow.com/homes/48690151_zpid/</mapthishome>
215
+ <myestimator>http://www.zillow.com/myestimator/Edit.htm?zprop=48690151</myestimator>
216
+ <myzestimator deprecated="true">http://www.zillow.com/myestimator/Edit.htm?zprop=48690151</myzestimator>
217
+ <comparables>http://www.zillow.com/homes/comps/48690151_zpid/</comparables>
218
+ </links>
219
+ <address>
220
+ <street>161 Crockett St</street>
221
+ <zipcode>98109</zipcode>
222
+ <city>Seattle</city>
223
+ <state>WA</state>
224
+ <latitude>47.637268</latitude>
225
+ <longitude>-122.353885</longitude>
226
+ </address>
227
+ <zestimate>
228
+ <amount currency="USD">522600</amount>
229
+ <last-updated>08/24/2011</last-updated>
230
+ <oneWeekChange deprecated="true"/>
231
+ <valueChange duration="30" currency="USD">7900</valueChange>
232
+ <valuationRange>
233
+ <low currency="USD">433758</low>
234
+ <high currency="USD">627120</high>
235
+ </valuationRange>
236
+ <percentile>69</percentile>
237
+ </zestimate>
238
+ <localRealEstate>
239
+ <region id="271856" type="neighborhood" name="East Queen Anne">
240
+ <links>
241
+ <overview>http://www.zillow.com/local-info/WA-Seattle/East-Queen-Anne/r_271856/</overview>
242
+ <forSaleByOwner>http://www.zillow.com/homes/fsbo/East-Queen-Anne-Seattle-WA/</forSaleByOwner>
243
+ <forSale>http://www.zillow.com/homes/for_sale/East-Queen-Anne-Seattle-WA/</forSale>
244
+ </links>
245
+ </region>
246
+ </localRealEstate>
247
+ </comp>
248
+ </comparables>
249
+ </properties>
250
+ </response>
251
+ </Comps:comps>
252
+ <!-- H:117 T:49ms S:4480 R:Fri Aug 26 13:01:00 PDT 2011 B:3.0.121144.20110823141116-comp_rel_b -->
@@ -0,0 +1,307 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Comps:comps xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Comps="http://www.zillow.com/static/xsd/Comps.xsd" xsi:schemaLocation="http://www.zillow.com/static/xsd/Comps.xsd http://www.zillowstatic.com/vstatic/6b4ea3e571a1ef97dd8f1e6be94b2725/static/xsd/Comps.xsd">
3
+ <request>
4
+ <zpid>48749425</zpid>
5
+ <count>5</count>
6
+ </request>
7
+ <message>
8
+ <text>Request successfully processed</text>
9
+ <code>0</code>
10
+ </message>
11
+ <response>
12
+ <properties>
13
+ <principal>
14
+ <zpid>48749425</zpid>
15
+ <links>
16
+ <homedetails>http://www.zillow.com/homedetails/2114-Bigelow-Ave-N-Seattle-WA-98109/48749425_zpid/</homedetails>
17
+ <graphsanddata>http://www.zillow.com/homedetails/2114-Bigelow-Ave-N-Seattle-WA-98109/48749425_zpid/#charts-and-data</graphsanddata>
18
+ <mapthishome>http://www.zillow.com/homes/48749425_zpid/</mapthishome>
19
+ <myestimator>http://www.zillow.com/myestimator/Edit.htm?zprop=48749425</myestimator>
20
+ <myzestimator deprecated="true">http://www.zillow.com/myestimator/Edit.htm?zprop=48749425</myzestimator>
21
+ <comparables>http://www.zillow.com/homes/comps/48749425_zpid/</comparables>
22
+ </links>
23
+ <address>
24
+ <street>2114 Bigelow Ave N</street>
25
+ <zipcode>98109</zipcode>
26
+ <city>Seattle</city>
27
+ <state>WA</state>
28
+ <latitude>47.637933</latitude>
29
+ <longitude>-122.347938</longitude>
30
+ </address>
31
+ <taxAssessmentYear>2010</taxAssessmentYear>
32
+ <taxAssessment>872000.0</taxAssessment>
33
+ <yearBuilt>1924</yearBuilt>
34
+ <lotSizeSqFt>4680</lotSizeSqFt>
35
+ <finishedSqFt>3470</finishedSqFt>
36
+ <bathrooms>3.0</bathrooms>
37
+ <bedrooms>4</bedrooms>
38
+ <lastSoldDate>11/26/2008</lastSoldDate>
39
+ <lastSoldPrice currency="USD">1025000</lastSoldPrice>
40
+ <zestimate>
41
+ <amount currency="USD">1032000</amount>
42
+ <last-updated>08/24/2011</last-updated>
43
+ <oneWeekChange deprecated="true"/>
44
+ <valueChange duration="30" currency="USD">5900</valueChange>
45
+ <valuationRange>
46
+ <low currency="USD">866880</low>
47
+ <high currency="USD">1259040</high>
48
+ </valuationRange>
49
+ <percentile>95</percentile>
50
+ </zestimate>
51
+ <localRealEstate>
52
+ <region id="271856" type="neighborhood" name="East Queen Anne">
53
+ <links>
54
+ <overview>http://www.zillow.com/local-info/WA-Seattle/East-Queen-Anne/r_271856/</overview>
55
+ <forSaleByOwner>http://www.zillow.com/homes/fsbo/East-Queen-Anne-Seattle-WA/</forSaleByOwner>
56
+ <forSale>http://www.zillow.com/homes/for_sale/East-Queen-Anne-Seattle-WA/</forSale>
57
+ </links>
58
+ </region>
59
+ </localRealEstate>
60
+ </principal>
61
+ <comparables>
62
+ <comp score="0.0813344">
63
+ <zpid>48768095</zpid>
64
+ <links>
65
+ <homedetails>http://www.zillow.com/homedetails/2538-Mayfair-Ave-N-Seattle-WA-98109/48768095_zpid/</homedetails>
66
+ <graphsanddata>http://www.zillow.com/homedetails/2538-Mayfair-Ave-N-Seattle-WA-98109/48768095_zpid/#charts-and-data</graphsanddata>
67
+ <mapthishome>http://www.zillow.com/homes/48768095_zpid/</mapthishome>
68
+ <myestimator>http://www.zillow.com/myestimator/Edit.htm?zprop=48768095</myestimator>
69
+ <myzestimator deprecated="true">http://www.zillow.com/myestimator/Edit.htm?zprop=48768095</myzestimator>
70
+ <comparables>http://www.zillow.com/homes/comps/48768095_zpid/</comparables>
71
+ </links>
72
+ <address>
73
+ <street>2538 Mayfair Ave N</street>
74
+ <zipcode>98109</zipcode>
75
+ <city>Seattle</city>
76
+ <state>WA</state>
77
+ <latitude>47.642566</latitude>
78
+ <longitude>-122.352512</longitude>
79
+ </address>
80
+ <taxAssessmentYear>2010</taxAssessmentYear>
81
+ <taxAssessment>431000.0</taxAssessment>
82
+ <yearBuilt>1955</yearBuilt>
83
+ <lotSizeSqFt>16514</lotSizeSqFt>
84
+ <finishedSqFt>2600</finishedSqFt>
85
+ <bathrooms>2.75</bathrooms>
86
+ <bedrooms>4</bedrooms>
87
+ <totalRooms>8</totalRooms>
88
+ <lastSoldDate>07/27/2011</lastSoldDate>
89
+ <lastSoldPrice currency="USD">545000</lastSoldPrice>
90
+ <zestimate>
91
+ <amount currency="USD">584400</amount>
92
+ <last-updated>08/24/2011</last-updated>
93
+ <oneWeekChange deprecated="true"/>
94
+ <valueChange duration="30" currency="USD">-100</valueChange>
95
+ <valuationRange>
96
+ <low currency="USD">449988</low>
97
+ <high currency="USD">625308</high>
98
+ </valuationRange>
99
+ <percentile>75</percentile>
100
+ </zestimate>
101
+ <localRealEstate>
102
+ <region id="271942" type="neighborhood" name="North Queen Anne">
103
+ <links>
104
+ <overview>http://www.zillow.com/local-info/WA-Seattle/North-Queen-Anne/r_271942/</overview>
105
+ <forSaleByOwner>http://www.zillow.com/homes/fsbo/North-Queen-Anne-Seattle-WA/</forSaleByOwner>
106
+ <forSale>http://www.zillow.com/homes/for_sale/North-Queen-Anne-Seattle-WA/</forSale>
107
+ </links>
108
+ </region>
109
+ </localRealEstate>
110
+ </comp>
111
+ <comp score="0.11838">
112
+ <zpid>48810502</zpid>
113
+ <links>
114
+ <homedetails>http://www.zillow.com/homedetails/555-Prospect-St-APT-4-Seattle-WA-98109/48810502_zpid/</homedetails>
115
+ <graphsanddata>http://www.zillow.com/homedetails/555-Prospect-St-APT-4-Seattle-WA-98109/48810502_zpid/#charts-and-data</graphsanddata>
116
+ <mapthishome>http://www.zillow.com/homes/48810502_zpid/</mapthishome>
117
+ <myestimator>http://www.zillow.com/myestimator/Edit.htm?zprop=48810502</myestimator>
118
+ <myzestimator deprecated="true">http://www.zillow.com/myestimator/Edit.htm?zprop=48810502</myzestimator>
119
+ <comparables>http://www.zillow.com/homes/comps/48810502_zpid/</comparables>
120
+ </links>
121
+ <address>
122
+ <street>555 Prospect St APT 4</street>
123
+ <zipcode>98109</zipcode>
124
+ <city>Seattle</city>
125
+ <state>WA</state>
126
+ <latitude>47.628775</latitude>
127
+ <longitude>-122.345839</longitude>
128
+ </address>
129
+ <taxAssessmentYear>2010</taxAssessmentYear>
130
+ <taxAssessment>288000.0</taxAssessment>
131
+ <yearBuilt>1979</yearBuilt>
132
+ <lotSizeSqFt>5762</lotSizeSqFt>
133
+ <finishedSqFt>1237</finishedSqFt>
134
+ <bathrooms>2.0</bathrooms>
135
+ <bedrooms>2</bedrooms>
136
+ <lastSoldDate>07/19/2011</lastSoldDate>
137
+ <lastSoldPrice currency="USD">295000</lastSoldPrice>
138
+ <zestimate>
139
+ <amount currency="USD">301500</amount>
140
+ <last-updated>08/24/2011</last-updated>
141
+ <oneWeekChange deprecated="true"/>
142
+ <valueChange duration="30" currency="USD">-1700</valueChange>
143
+ <valuationRange>
144
+ <low currency="USD">238185</low>
145
+ <high currency="USD">340695</high>
146
+ </valuationRange>
147
+ <percentile>34</percentile>
148
+ </zestimate>
149
+ <localRealEstate>
150
+ <region id="271856" type="neighborhood" name="East Queen Anne">
151
+ <links>
152
+ <overview>http://www.zillow.com/local-info/WA-Seattle/East-Queen-Anne/r_271856/</overview>
153
+ <forSaleByOwner>http://www.zillow.com/homes/fsbo/East-Queen-Anne-Seattle-WA/</forSaleByOwner>
154
+ <forSale>http://www.zillow.com/homes/for_sale/East-Queen-Anne-Seattle-WA/</forSale>
155
+ </links>
156
+ </region>
157
+ </localRealEstate>
158
+ </comp>
159
+ <comp score="0.094532">
160
+ <zpid>49099112</zpid>
161
+ <links>
162
+ <homedetails>http://www.zillow.com/homedetails/2500-6th-Ave-N-APT-2-Seattle-WA-98109/49099112_zpid/</homedetails>
163
+ <graphsanddata>http://www.zillow.com/homedetails/2500-6th-Ave-N-APT-2-Seattle-WA-98109/49099112_zpid/#charts-and-data</graphsanddata>
164
+ <mapthishome>http://www.zillow.com/homes/49099112_zpid/</mapthishome>
165
+ <myestimator>http://www.zillow.com/myestimator/Edit.htm?zprop=49099112</myestimator>
166
+ <myzestimator deprecated="true">http://www.zillow.com/myestimator/Edit.htm?zprop=49099112</myzestimator>
167
+ <comparables>http://www.zillow.com/homes/comps/49099112_zpid/</comparables>
168
+ </links>
169
+ <address>
170
+ <street>2500 6th Ave N APT 2</street>
171
+ <zipcode>98109</zipcode>
172
+ <city>Seattle</city>
173
+ <state>WA</state>
174
+ <latitude>47.642435</latitude>
175
+ <longitude>-122.345685</longitude>
176
+ </address>
177
+ <taxAssessmentYear>2010</taxAssessmentYear>
178
+ <taxAssessment>821000.0</taxAssessment>
179
+ <yearBuilt>1965</yearBuilt>
180
+ <lotSizeSqFt>7646</lotSizeSqFt>
181
+ <finishedSqFt>2000</finishedSqFt>
182
+ <bathrooms>1.5</bathrooms>
183
+ <bedrooms>2</bedrooms>
184
+ <lastSoldDate>08/10/2011</lastSoldDate>
185
+ <lastSoldPrice currency="USD">695000</lastSoldPrice>
186
+ <zestimate>
187
+ <amount currency="USD">735300</amount>
188
+ <last-updated>08/24/2011</last-updated>
189
+ <oneWeekChange deprecated="true"/>
190
+ <valueChange duration="30" currency="USD">17800</valueChange>
191
+ <valuationRange>
192
+ <low currency="USD">522063</low>
193
+ <high currency="USD">904419</high>
194
+ </valuationRange>
195
+ <percentile>87</percentile>
196
+ </zestimate>
197
+ <localRealEstate>
198
+ <region id="272022" type="neighborhood" name="Westlake">
199
+ <links>
200
+ <overview>http://www.zillow.com/local-info/WA-Seattle/Westlake/r_272022/</overview>
201
+ <forSaleByOwner>http://www.zillow.com/homes/fsbo/Westlake-Seattle-WA/</forSaleByOwner>
202
+ <forSale>http://www.zillow.com/homes/for_sale/Westlake-Seattle-WA/</forSale>
203
+ </links>
204
+ </region>
205
+ </localRealEstate>
206
+ </comp>
207
+ <comp score="0.0906162">
208
+ <zpid>48689869</zpid>
209
+ <links>
210
+ <homedetails>http://www.zillow.com/homedetails/1606-Nob-Hill-Ave-N-Seattle-WA-98109/48689869_zpid/</homedetails>
211
+ <graphsanddata>http://www.zillow.com/homedetails/1606-Nob-Hill-Ave-N-Seattle-WA-98109/48689869_zpid/#charts-and-data</graphsanddata>
212
+ <mapthishome>http://www.zillow.com/homes/48689869_zpid/</mapthishome>
213
+ <myestimator>http://www.zillow.com/myestimator/Edit.htm?zprop=48689869</myestimator>
214
+ <myzestimator deprecated="true">http://www.zillow.com/myestimator/Edit.htm?zprop=48689869</myzestimator>
215
+ <comparables>http://www.zillow.com/homes/comps/48689869_zpid/</comparables>
216
+ </links>
217
+ <address>
218
+ <street>1606 Nob Hill Ave N</street>
219
+ <zipcode>98109</zipcode>
220
+ <city>Seattle</city>
221
+ <state>WA</state>
222
+ <latitude>47.633416</latitude>
223
+ <longitude>-122.350494</longitude>
224
+ </address>
225
+ <taxAssessmentYear>2010</taxAssessmentYear>
226
+ <taxAssessment>556000.0</taxAssessment>
227
+ <yearBuilt>1924</yearBuilt>
228
+ <lotSizeSqFt>3200</lotSizeSqFt>
229
+ <finishedSqFt>2570</finishedSqFt>
230
+ <bathrooms>2.0</bathrooms>
231
+ <bedrooms>3</bedrooms>
232
+ <lastSoldDate>04/29/2011</lastSoldDate>
233
+ <lastSoldPrice currency="USD">740000</lastSoldPrice>
234
+ <zestimate>
235
+ <amount currency="USD">750100</amount>
236
+ <last-updated>08/24/2011</last-updated>
237
+ <oneWeekChange deprecated="true"/>
238
+ <valueChange duration="30" currency="USD">2700</valueChange>
239
+ <valuationRange>
240
+ <low currency="USD">652587</low>
241
+ <high currency="USD">877617</high>
242
+ </valuationRange>
243
+ <percentile>87</percentile>
244
+ </zestimate>
245
+ <localRealEstate>
246
+ <region id="271856" type="neighborhood" name="East Queen Anne">
247
+ <links>
248
+ <overview>http://www.zillow.com/local-info/WA-Seattle/East-Queen-Anne/r_271856/</overview>
249
+ <forSaleByOwner>http://www.zillow.com/homes/fsbo/East-Queen-Anne-Seattle-WA/</forSaleByOwner>
250
+ <forSale>http://www.zillow.com/homes/for_sale/East-Queen-Anne-Seattle-WA/</forSale>
251
+ </links>
252
+ </region>
253
+ </localRealEstate>
254
+ </comp>
255
+ <comp score="0.11865">
256
+ <zpid>48689978</zpid>
257
+ <links>
258
+ <homedetails>http://www.zillow.com/homedetails/352-Blaine-St-Seattle-WA-98109/48689978_zpid/</homedetails>
259
+ <graphsanddata>http://www.zillow.com/homedetails/352-Blaine-St-Seattle-WA-98109/48689978_zpid/#charts-and-data</graphsanddata>
260
+ <mapthishome>http://www.zillow.com/homes/48689978_zpid/</mapthishome>
261
+ <myestimator>http://www.zillow.com/myestimator/Edit.htm?zprop=48689978</myestimator>
262
+ <myzestimator deprecated="true">http://www.zillow.com/myestimator/Edit.htm?zprop=48689978</myzestimator>
263
+ <comparables>http://www.zillow.com/homes/comps/48689978_zpid/</comparables>
264
+ </links>
265
+ <address>
266
+ <street>352 Blaine St</street>
267
+ <zipcode>98109</zipcode>
268
+ <city>Seattle</city>
269
+ <state>WA</state>
270
+ <latitude>47.635005</latitude>
271
+ <longitude>-122.350517</longitude>
272
+ </address>
273
+ <taxAssessmentYear>2010</taxAssessmentYear>
274
+ <taxAssessment>572000.0</taxAssessment>
275
+ <yearBuilt>1922</yearBuilt>
276
+ <lotSizeSqFt>3000</lotSizeSqFt>
277
+ <finishedSqFt>2670</finishedSqFt>
278
+ <bathrooms>2.0</bathrooms>
279
+ <bedrooms>4</bedrooms>
280
+ <lastSoldDate>10/26/2010</lastSoldDate>
281
+ <lastSoldPrice currency="USD">815000</lastSoldPrice>
282
+ <zestimate>
283
+ <amount currency="USD">760000</amount>
284
+ <last-updated>08/24/2011</last-updated>
285
+ <oneWeekChange deprecated="true"/>
286
+ <valueChange duration="30" currency="USD">-400</valueChange>
287
+ <valuationRange>
288
+ <low currency="USD">661200</low>
289
+ <high currency="USD">881600</high>
290
+ </valuationRange>
291
+ <percentile>88</percentile>
292
+ </zestimate>
293
+ <localRealEstate>
294
+ <region id="271856" type="neighborhood" name="East Queen Anne">
295
+ <links>
296
+ <overview>http://www.zillow.com/local-info/WA-Seattle/East-Queen-Anne/r_271856/</overview>
297
+ <forSaleByOwner>http://www.zillow.com/homes/fsbo/East-Queen-Anne-Seattle-WA/</forSaleByOwner>
298
+ <forSale>http://www.zillow.com/homes/for_sale/East-Queen-Anne-Seattle-WA/</forSale>
299
+ </links>
300
+ </region>
301
+ </localRealEstate>
302
+ </comp>
303
+ </comparables>
304
+ </properties>
305
+ </response>
306
+ </Comps:comps>
307
+ <!-- H:120 T:316ms S:6113 R:Fri Aug 26 19:29:12 PDT 2011 B:3.0.121144.20110823141116-comp_rel_b -->