README.md (4124B)
1 # suumo-search 2 Perform advanced searches on Suumo.jp 3 4 ## Configuration 5 6 ### search-conditions.cfg 7 8 | Property | Possible values | Description | 9 | -------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------- | 10 | area | see xyz.kebigon.housesearch.domain.Area | Location of the researched property | 11 | type | see xyz.kebigon.housesearch.domain.AnounceType | Type of the researched property | 12 | price.min | long | Minimum price of the property (in yens) : all postings cheaper will be ignored | 13 | price.max | long | Maximum price of the property (in yens) : all postings more expensive will be ignored | 14 | age.min | int | Minimum age of the property (in years) : all postings newer will be ignored | 15 | age.max | int | Maximum age of the property (in yens) : all postings older will be ignored | 16 | surface.land.min | int | Minimum surface of the property (in square meters) | 17 | surface.land.max | int | Maximum surface of the property (in square meters) | 18 | surface.house.min | int | Minimum surface of the house on the property (in square meters) | 19 | surface.house.max | int | Maximum surface of the house on the property (in square meters) | 20 | station.walktime.max | int | Maximum time to go to the nearest station by foot (in minutes) | 21 | expression.file | String | Name of a file containing a Spring Expression to filter the postings (see below) | 22 23 ### Spring expression file (defined by property expression.file of search-conditions.cfg) 24 25 You can write an Spring expression to evaluate each postings that already successfully past the previous checks. To do so, you have access to the below functions 26 27 | Function | Description | 28 | --------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | 29 | #timeToStation(#property, 'station name') | Returns the time in minutes to travel from the property to the mentioned station (based on the walk time to the nearest station from the posting, and the time between this station and the mentioned station). | 30 | #fareToStation(#property, 'station name') | Returns the price in yens to travel from the nearest station to the mentioned station. | 31 | #transferToStation(#property, 'station name') | Returns the number of transfers necessary to travel from the nearest station to the mentioned station. | 32 33 NB: the station on the second argument must be written as found on Yahoo Transit. 34 35 ### log4j2.xml 36 37 This file is used to configure how the application is managing its logs, see the log4j2 documentation