Update README.md
parent
c3c6bdd2c5
commit
fd01bfb8b8
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
|
||||||
|
|
Loading…
Reference in New Issue