export agency
This commit is contained in:
parent
9f3e466b23
commit
5192b1955c
1 changed files with 7 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ class Listing:
|
||||||
"updated_days",
|
"updated_days",
|
||||||
"status",
|
"status",
|
||||||
"last_seen",
|
"last_seen",
|
||||||
|
"agency",
|
||||||
]
|
]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
@ -287,6 +288,10 @@ class Listing:
|
||||||
status = self.detailobject["property"]["status"]
|
status = self.detailobject["property"]["status"]
|
||||||
return status
|
return status
|
||||||
|
|
||||||
|
@property
|
||||||
|
def agency(self) -> str:
|
||||||
|
return self.detailobject['property']["branch"]["brandName"]
|
||||||
|
|
||||||
def dict_nicely(self):
|
def dict_nicely(self):
|
||||||
return {
|
return {
|
||||||
"identifier":
|
"identifier":
|
||||||
|
|
@ -319,4 +324,6 @@ class Listing:
|
||||||
self.status,
|
self.status,
|
||||||
"last_seen":
|
"last_seen":
|
||||||
self.last_seen,
|
self.last_seen,
|
||||||
|
"agency":
|
||||||
|
self.agency,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue