1

我正在尝试从 Zillow 中提取房屋清单的“每月费用”部分。从本质上讲,我需要支付抵押贷款、HOA(如果有的话)和财产税的费用。(见此链接:https ://www.zillow.com/homedetails/181-Willow-St-Johnson-City-NY-13790/29756925_zpid/ )

我一直在使用 Python 包装器,但包装器似乎只包含几个参数。我遇到了另一个问题,我无法提取租金数据,解决方案是我需要将实际参数添加到 zillow api 包中。(请参阅该 Stackoverflow 问题的链接:从 Zillow API 提取 Zillow 租赁数据

我还从 Zillow 找到了这个资源,我认为这是我获取抵押贷款数据的关键:

Zillow 的抵押 API 主页: https ://www.zillow.com/mortgage/api/#/

获取抵押贷款利率的 API 页面: https ://mortgageapi.zillow.com/api/getCurrentRates

    import pyzillow
from pyzillow.pyzillow import ZillowWrapper, GetDeepSearchResults
import pandas as pd

house = pd.read_excel('Housing_Output.xlsx')


### Login to Zillow API
address = ['123 Test Street City, State Abbreviation'] # Fill this in with an address
zip_code = ['zip code'] # fill this in with a zip code

# API Key needed from Zillow to login
zillow_data = ZillowWrapper(API KEY)

# Access Zillow deep search API
deep_search_response = zillow_data.get_deep_search_results(address, zip_code)
result = GetDeepSearchResults(deep_search_response)


print(result.zestimate_amount)
print(result.tax_value)
4

0 回答 0