Rich API for the realtor business system FasAd.
FasAd is a business system for realtors. It stores the information and images that the realtors need and exposes some of it through a web API using XML.
The focus of FasAd’s API is, rightfully, to support rapid development of simple websites. The goal of django-fasad is to support more advanced use cases. For example making queries such as these a breeze:
- Which real estates have been sold through realtor X?
- Which are the 10 most expensive real estates within central Stockholm?
- What is the sum of the value of all real estates sold during the past year?
django-fasad keeps its own copy of the information stored by FasAd. It is intended to periodically query FasAd’s API to look for changes. Hopefully FasAd will support web hooks in the future which could be used to notify django-fasad of changes.
Since django-fasad has its own copy of the data it can quickly answer advanced queries that would normally require multiple hits to the FasAd API.
What about images?
django-fasad stores image meta data but not the actual image files (they are served by FasAd).
Install using pip:
$ pip install django-fasad
Add “fasad” to your INSTALLED_APPS setting:
INSTALLED_APPS = ( ... 'fasad', )
Run python manage.py migrate.
Run python manage.py fasad_synchronize –all to synchronize all realtors and real estates.
Create a scheduled job that runs python manage.py fasad_synchronize once every 10 minutes. This will synchronize recent changes.
Your application can now make use of django-fasad’s models, managers etc.