Updates - adding new filters to the API and the PHP-SDK (release v1.1.18)
API v1 - new filters
filtering by the number of the cellars
objekt/list?filter[anzahl_keller_von]=2&filter[anzahl_keller_bis]=3
filtering by the number of the garages
objekt/list?filter[anzahl_garagen_von]=2&filter[anzahl_garagen_bis]=3
filtering by the number of the parking plots
objekt/list?filter[anzahl_stellplaetze_von]=2&filter[anzahl_stellplaetze_bis]=3
filtering by the number of toilet rooms
objekt/list?filter[anzahl_sep_wc_von]=2&filter[anzahl_sep_wc_bis]=3
filtering by the number of the bath rooms
objekt/list?filter[anzahl_badezimmer_von]=2&filter[anzahl_badezimmer_bis]=3
filtering by the number of the store rooms
objekt/list?filter[anzahl_abstellraum_von]=2&filter[anzahl_abstellraum_bis]=3
PHP-SDK v1.1.18
- Add support for realty calls
- filterByCellarCount()
- filterByGarageCount()
- filterByParkingCount()
- filterByToiletRoomCount()
- filterByBathRoomCount()
- filterByStoreRoomCount()
Examples:
$query = new RealtyQuery($api, $wrapper, $mapper);
$realties = $query
->filterByCellarCount(['min' => 2, 'max' => 3])
->setLimit(3)
->find();
$realties = $query
->filterByGarageCount(['min' => 2, 'max' => 3])
->setLimit(3)
->find();
$query = new RealtyQuery($api, $wrapper, $mapper);
$realties = $query
->filterByParkingCount(['min' => 2, 'max' => 3])
->setLimit(3)
->find();
$realties = $query
->filterByToiletRoomCount(['min' => 2, 'max' => 3])
->setLimit(3)
->find();
$query = new RealtyQuery($api, $wrapper, $mapper);
$realties = $query
->filterByBathRoomCount(['min' => 2, 'max' => 3])
->setLimit(3)
->find();
$query = new RealtyQuery($api, $wrapper, $mapper);
$realties = $query
->filterByStoreRoomCount(['min' => 2, 'max' => 3])
->setLimit(3)
->find();