Update README.md

pull/1/head
Zachary Hampton 2023-09-18 08:45:31 -07:00 committed by GitHub
parent c3c6bdd2c5
commit fd01bfb8b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 6 deletions

View File

@ -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