mirror of
https://github.com/Bunsly/HomeHarvest.git
synced 2026-03-05 03:54:29 -08:00
Update README.md
This commit is contained in:
19
README.md
19
README.md
@@ -11,13 +11,20 @@ pip install --upgrade homeharvest
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
```
|
```py
|
||||||
from homeharvest import scrape_property
|
>>> from homeharvest import scrape_property
|
||||||
|
... properties = scrape_property(
|
||||||
|
... location="85281", site_name="zillow", listing_type="for_rent"
|
||||||
|
... )
|
||||||
|
|
||||||
properties = scrape_property(
|
>>> properties.head()
|
||||||
location="85281", site_name="zillow", listing_type="for_rent"
|
address_one city ... mls_id description
|
||||||
)
|
0 420 N Scottsdale Rd Tempe ... NaN NaN
|
||||||
print(properties)
|
1 1255 E University Dr Tempe ... NaN NaN
|
||||||
|
2 1979 E Rio Salado Pkwy Tempe ... NaN NaN
|
||||||
|
3 548 S Wilson St Tempe ... None None
|
||||||
|
4 945 E Playa Del Norte Dr Unit 4027 Tempe ... NaN NaN
|
||||||
|
[5 rows x 23 columns]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Site Name Options
|
### Site Name Options
|
||||||
|
|||||||
Reference in New Issue
Block a user