Skip to content

Instantly share code, notes, and snippets.

@apimaker001
Last active April 4, 2023 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apimaker001/6ec89060307f8b5d15c0b245e378fbd4 to your computer and use it in GitHub Desktop.
Save apimaker001/6ec89060307f8b5d15c0b245e378fbd4 to your computer and use it in GitHub Desktop.
resolveAddressToZpid
import requests
files = {"file": ("addresses.txt", open("addresses.txt", "rb"), "text/plain")}
test_url = "https://zillow-com1.p.rapidapi.com/resolveAddressToZpid"
headers = {
"X-RapidAPI-Key": "",
"X-RapidAPI-Host": "zillow-com1.p.rapidapi.com",
}
test_response = requests.post(test_url, files = files, headers = headers)
if test_response.ok:
print("Upload completed successfully!")
print(test_response.text)
else:
print("Something went wrong!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment