Skip to content

Commit bc7ff33

Browse files
Whoops, forgot something in the example
1 parent ef5eac9 commit bc7ff33

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ from daft_scraper.search.options import (
4343
)
4444
from daft_scraper.search.options_location import LocationsOption, Location
4545

46+
options = [
47+
PropertyTypesOption([PropertyType.APARTMENT]),
48+
FacilitiesOption([Facility.PARKING, Facility.SERVICED_PROPERTY]),
49+
LocationsOption([Location.SWORDS_DUBLIN]),
50+
PriceOption(0, 1000),
51+
BedOption(1, 4),
52+
]
53+
4654
api = DaftSearch(SearchType.RENT)
4755
listings = api.search(options)
4856

0 commit comments

Comments
 (0)