Name | pyzill JSON |
Version |
0.0.1
JSON |
| download |
home_page | None |
Summary | Zillow scraper in Python |
upload_time | 2024-04-23 20:34:17 |
maintainer | None |
docs_url | None |
author | None |
requires_python | None |
license | MIT |
keywords |
zillow
scraper
crawler
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Zillow scraper in Python
## Overview
This project is an open-source tool developed in Python for extracting product information from Zillow. It's designed to be easy to use, making it an ideal solution for developers looking for Zillow product data.
## Features
- Full search support
- Extracts detailed product information from Zillow
- Implemented in Python just because it's popular
- Easy to integrate with existing Python projects
### Install
```bash
$ pip install pyzill
```
## Examples
```Python
import pyzill
import json
ne_lat = 47.76725314073866
ne_long = -122.15539952490977
sw_lat = 47.67128302452179
sw_long =-122.3442270395582
zoom_value = 2
results = pyzill.Search_all(ne_lat,ne_long,sw_lat,sw_long,zoom_value, "")
details_data = []
progress = 1
jsondata = json.dumps(results)
f = open("results.json", "w")
f.write(jsondata)
f.close()
for result in results[:3]:
data = pyzill.Get_from_property_id(result["zpid"],"")
details_data.append(data)
print("len results: ",progress, len(results))
progress=progress+1
details_data_json = json.dumps(details_data)
f = open("details_data.json", "w")
f.write(details_data_json)
f.close()
```
```Python
import pyzill
import json
property_url="https://www.zillow.com/homedetails/858-Shady-Grove-Ln-Harrah-OK-73045/339897685_zpid/"
data = pyzill.Get_from_property_url(property_url,"")
jsondata = json.dumps(data)
f = open("details.json", "w")
f.write(jsondata)
f.close()
```
```Python
import pyzill
import json
property_id=2056016566
data = pyzill.Get_from_property_url(property_id,"")
jsondata = json.dumps(data)
f = open("details.json", "w")
f.write(jsondata)
f.close()
```
Raw data
{
"_id": null,
"home_page": null,
"name": "pyzill",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "zillow, scraper, crawler",
"author": null,
"author_email": "John Balvin <johnchristian@hotmail.es>",
"download_url": "https://files.pythonhosted.org/packages/6a/f8/ec5243cfea1e81da5935e2c120780fb1c82385cef806838acaa076a947e7/pyzill-0.0.1.tar.gz",
"platform": null,
"description": "# Zillow scraper in Python\n\n## Overview\nThis project is an open-source tool developed in Python for extracting product information from Zillow. It's designed to be easy to use, making it an ideal solution for developers looking for Zillow product data.\n\n## Features\n- Full search support\n- Extracts detailed product information from Zillow\n- Implemented in Python just because it's popular\n- Easy to integrate with existing Python projects\n\n### Install\n\n```bash\n$ pip install pyzill\n```\n## Examples\n\n```Python\nimport pyzill\nimport json\nne_lat = 47.76725314073866\nne_long = -122.15539952490977\nsw_lat = 47.67128302452179\nsw_long =-122.3442270395582\nzoom_value = 2\nresults = pyzill.Search_all(ne_lat,ne_long,sw_lat,sw_long,zoom_value, \"\")\ndetails_data = []\nprogress = 1\njsondata = json.dumps(results)\nf = open(\"results.json\", \"w\")\nf.write(jsondata)\nf.close()\nfor result in results[:3]:\n data = pyzill.Get_from_property_id(result[\"zpid\"],\"\")\n details_data.append(data)\n print(\"len results: \",progress, len(results))\n progress=progress+1\n \ndetails_data_json = json.dumps(details_data)\nf = open(\"details_data.json\", \"w\")\nf.write(details_data_json)\nf.close()\n```\n\n```Python\nimport pyzill\nimport json\nproperty_url=\"https://www.zillow.com/homedetails/858-Shady-Grove-Ln-Harrah-OK-73045/339897685_zpid/\"\ndata = pyzill.Get_from_property_url(property_url,\"\")\njsondata = json.dumps(data)\nf = open(\"details.json\", \"w\")\nf.write(jsondata)\nf.close()\n```\n\n```Python\nimport pyzill\nimport json\nproperty_id=2056016566\ndata = pyzill.Get_from_property_url(property_id,\"\")\njsondata = json.dumps(data)\nf = open(\"details.json\", \"w\")\nf.write(jsondata)\nf.close()\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Zillow scraper in Python",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/johnbalvin/pyzill"
},
"split_keywords": [
"zillow",
" scraper",
" crawler"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f6353a02d0876f633da8469c1ffdced20cf6209045e216e8f68ee9e8266da215",
"md5": "c965cebb970745bb0f1322865dcb4a3c",
"sha256": "c4ffbdaeb76b9095cd6ac5122a3e3570ff4664d0d969e276cc07c7b24acc0d93"
},
"downloads": -1,
"filename": "pyzill-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c965cebb970745bb0f1322865dcb4a3c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5847,
"upload_time": "2024-04-23T20:34:12",
"upload_time_iso_8601": "2024-04-23T20:34:12.741223Z",
"url": "https://files.pythonhosted.org/packages/f6/35/3a02d0876f633da8469c1ffdced20cf6209045e216e8f68ee9e8266da215/pyzill-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6af8ec5243cfea1e81da5935e2c120780fb1c82385cef806838acaa076a947e7",
"md5": "d29800830fc5a2be0ac51e5299c78085",
"sha256": "ba4deb4681a5e090fd81e8243992aaff253d1751c68198e56241883f0f00e61f"
},
"downloads": -1,
"filename": "pyzill-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "d29800830fc5a2be0ac51e5299c78085",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4558,
"upload_time": "2024-04-23T20:34:17",
"upload_time_iso_8601": "2024-04-23T20:34:17.767825Z",
"url": "https://files.pythonhosted.org/packages/6a/f8/ec5243cfea1e81da5935e2c120780fb1c82385cef806838acaa076a947e7/pyzill-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-23 20:34:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "johnbalvin",
"github_project": "pyzill",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pyzill"
}