我正在使用 Zillow API,但在检索租金数据时遇到问题。目前我正在使用 Python Zillow 包装器,但我不确定它是否适用于提取租金数据。
这是我用于 Zillow API 的帮助页面:https : //www.zillow.com/howto/api/GetSearchResults.htm
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
zillow_data = ZillowWrapper(API KEY)
deep_search_response = zillow_data.get_deep_search_results(address, zip_code)
result = GetDeepSearchResults(deep_search_response)
# These API calls work, but I am not sure …Run Code Online (Sandbox Code Playgroud)