finary_uapi icon indicating copy to clipboard operation
finary_uapi copied to clipboard

Add "contructionYear" in real_estates

Open daodevinc opened this issue 2 years ago • 5 comments

Add "contructionYear" into real_estates, to be compatible with RealT constructionYear Data

daodevinc avatar Feb 13 '24 11:02 daodevinc

"contructionYear" is available in finary api ?

lasconic avatar Feb 13 '24 12:02 lasconic

I don't see constructionYear in Finary API. There is building_period that we don't support. It takes a finite list of options. One of them is between_1975_1984

Typical payload of a POST on real_estates

{
  "is_automated_valuation": false,
  "is_furnished": false,
  "is_new": false,
  "has_lift": false,
  "has_sauna": false,
  "has_pool": false,
  "building_period": "between_1975_1984",
  "flooring_quality": null,
  "flooring_condition": null,
  "windows_quality": null,
  "windows_condition": null,
  "bathrooms_quality": null,
  "bathrooms_condition": null,
  "kitchen_quality": null,
  "kitchen_condition": null,
  "general_quality": null,
  "general_condition": null,
  "parking_spaces": null,
  "garage_spaces": null,
  "number_of_rooms": null,
  "number_of_bathrooms": null,
  "number_of_floors": null,
  "floor_number": null,
  "balcony_area": null,
  "garden_area": null,
  "category": "rent",
  "monthly_charges": 2,
  "monthly_rent": 100,
  "yearly_taxes": 2,
  "rental_period": "annual",
  "rental_type": "lmnp",
  "is_estimable": true,
  "user_estimated_value": null,
  "description": "dfdf",
  "surface": 40,
  "agency_fees": 12,
  "notary_fees": 12,
  "furnishing_fees": 12,
  "renovation_fees": 2,
  "buying_price": 10000,
  "building_type": "apartment",
  "ownership_percentage": 100,
  "place_id": "",
  "bought_at": "2024-02-01"
}

lasconic avatar Feb 13 '24 14:02 lasconic

Hum i don't know, but available on portfolio : image

daodevinc avatar Feb 13 '24 16:02 daodevinc

Might be this field: "building_period": "between_1975_1984", ?

nmathey avatar Mar 26 '24 08:03 nmathey

Yes, we need a list of the possible value, and decide how we pass it to the function...

lasconic avatar Mar 26 '24 09:03 lasconic