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",
|
||||
"status",
|
||||
"last_seen",
|
||||
"agency",
|
||||
]
|
||||
|
||||
@staticmethod
|
||||
|
|
@ -287,6 +288,10 @@ class Listing:
|
|||
status = self.detailobject["property"]["status"]
|
||||
return status
|
||||
|
||||
@property
|
||||
def agency(self) -> str:
|
||||
return self.detailobject['property']["branch"]["brandName"]
|
||||
|
||||
def dict_nicely(self):
|
||||
return {
|
||||
"identifier":
|
||||
|
|
@ -319,4 +324,6 @@ class Listing:
|
|||
self.status,
|
||||
"last_seen":
|
||||
self.last_seen,
|
||||
"agency":
|
||||
self.agency,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue