Commit 9acd8d5d authored by unknown's avatar unknown
Browse files

add get and upload altitudes routes

parent 122eeb17
......@@ -115,6 +115,14 @@ class BuildingGeneric:
"post", "/".join([self.settings.base_url, self._uid, "metadata", name]), json=body,
)
def get_altitudes(self):
"""Retrieve the building and exterior altitudes from Hbase"""
return self._req_with_retries("get", "/".join([self.settings.base_url, self._uid, "altitudes"]))
def upload_altitudes(self, payload: dict):
"""Upload the building and exterior altitudes to Hbase"""
return self._req_with_retries("put", "/".join([self.settings.base_url, self._uid, "altitudes"]), json=payload)
# ----------------- Roof level ---------------------
def get_roof_image_by_name(self, image_name: str) -> str:
"""Get roof image"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment