Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

OpenRealEstate/OpenRealEstate.NET

Repository files navigation

THIS REPO IS NOW OBSOLETE AND REPLACED BY A NEWER REPO: https://github.com/OpenRealEstate

Please refer to that main repo for all the latest code and sub-repo's for this project.

This repo will be nuked in sometime in the future as all this code has already been migrated and to avoid confusion.


OpenRealEstate.NET

Production Dev
Build status Build status
Core NuGet Badge MyGet Badge
Services NuGet Badge MyGet Badge
Validation NuGet Badge MyGet Badge
FakeData N.A. MyGet Badge

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


TODO: Add CLI for FakeData.

###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.

I'm happy to accept tips
Lic: MIT

Releases

No releases published

Packages

No packages published