THIS REPO IS NOW OBSOLETE AND REPLACED BY A NEWER REPO: https://github.com/OpenRealEstate
This repo will be nuked in sometime in the future as all this code has already been migrated and to avoid confusion.
Production | Dev | |
---|---|---|
Core | ||
Services | ||
Validation | ||
FakeData | N.A. |
This library is an easy to use .NET Client api to help parse OpenRealEstate schema/data.
The library offers three packages:
Core
: all the models that represent listing types.Services
: the services that convert other listing formats to this OpenRealestate format.Validation
: validation logic for a listing. Eg. Latitude/Longitudes are legit, price is valid, etc.FakeData
: some hardcoded and random fake data, to help for testing and/or seeding your dev/test databases.
##Installation
###Pricing Notes
The SalePricing
class contains two main properties which define the sale price of a listing
SalePrice
SalePriceText
The SalePrice
is the listing price which should never been displayed to the public. This value is intended for services (like websites) to flter listings by a price.
The SalePriceText
value is what should be displayed to the public. If you wish to display the actual sale price, then copy this value into both properties.
Examples
SalePrice: 200000 | SalePriceText: null
: Nothing will be displayed to the public.SalePrice: 200000 | SalePriceText: Offers about 200K
: The text Offers about 200K should be displayed to the public.