Updates - adding new filters to the API and the PHP-SDK (release v1.1.16)
API v1 - new filters
filtering by condition. The id of the conditions.
objekt/list?filter[zustand_id]=1
filtering by the number of the gardens
objekt/list?filter[anzahl_garten_von]=2&filter[anzahl_garten_bis]=3
filtering by the number of the balconies
objekt/list?filter[anzahl_balkons_von]=2&filter[anzahl_balkons_bis]=3
filtering by the number of the loggias
objekt/list?filter[anzahl_loggias_von]=2&filter[anzahl_loggias_bis]=3
filtering by the number of the terraces
objekt/list?filter[anzahl_terrassen_von]=2&filter[anzahl_terrassen_bis]=3
filtering by equipments. The id of the features. Multiple values are supported by using an array notation.
objekt/list?filter[objekt_ausstattung_list][]=24&filter[objekt_ausstattung_list][]=25
objekt/list?filter[objekt_ausstattung_list][]=24&filter[objekt_ausstattung_list][]=25&limit=10&culture=de&showDetails=1
filtering by disability access
objekt/list?filter[barrierefrei]=1
PHP-SDK v1.1.16
- Fix the value of the stair for projects
- Add support for realty calls
- filterByCondition()
- filterByGardenCount()
- filterByBalconyCount()
- filterByLoggiaCount()
- filterByTerraceCount()
- filterByEquipment()
- filterByDisabilityAccess()
Examples:
$query = new RealtyQuery($api, $wrapper, $mapper);
$realties = $query
->filterByGardenCount(array('min' => 2, 'max' => 3))
->setLimit(3)
->find();
$query = new RealtyQuery($api, $wrapper, $mapper);
$realties = $query
->filterByBalconyCount(array('min' => 2, 'max' => 3))
->setLimit(3)
->find();
$query = new RealtyQuery($api, $wrapper, $mapper);
$realties = $query
->filterByLoggiaCount(array('min' => 2, 'max' => 3))
->setLimit(3)
->find();
$query = new RealtyQuery($api, $wrapper, $mapper);
$realties = $query
->filterByTerraceCount(array('min' => 2, 'max' => 3))
->setLimit(3)
->find();
$query = new RealtyQuery($api, $wrapper, $mapper);
$realties = $query
->filterByDisabilityAccess(true)
->setLimit(3)
->find();
filtering by condition. The id of the conditions.
$query = new RealtyQuery($api, $wrapper, $mapper);
$realties = $query
->filterByCondition(3)
->setLimit(3)
->find();
filtering by equipment(s). The id of the features. Multiple values are supported by using an array notation.
$query = new RealtyQuery($api, $wrapper, $mapper);
$realties = $query
->filterByEquipment(array(7,10,29))
->setLimit(3)
->find();