开发者社区> 镜像站> NPM> denmark-real-estate-valuation
denmark-real-estate-valuation
A stream of reale state valuations given a zipcode and streetname
Last updated 5 years ago by andreasmadsen .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install denmark-real-estate-valuation 
SYNC missed versions from official npm registry.

#denmark-real-estate-valuation Build Status

A stream of real estate valuations given a zipcode and streetname

Installation

npm install denmark-real-estate-valuation

Documentation

RealEstateValuation = require('denmark-real-estate-valuation')

This is a class constructor with the signature RealEstateValuation(query), it returns a readable stream.

query is an object that could specify the area (either zipCode or municipalityCode) and the street name (streetName). If the municipalityCode is used a street code (streetCode) can be used instead of street name.

const valuations = RealEstateValuation({
  zipCode: 2800,
  streetName: 'Lyngby Hovedgade'
});

// alternatively: { municipalityCode: 173, streetName: 'Lyngby Hovedgade' }
// alternatively: { municipalityCode: 173, streetCode: 535 }

valuations.on('data', function (property) {
  property = {
    id: 51002,
    houseNumber: '1A',
    floor: '2',
    type: 'Ejerlejl. iøvrigt',
    landValue: 10210000, // danish kroner (DKK)
    houseValue: 30500000 // danish kroner (DKK)
  };

  // The real estate value is `property.landValue + property.houseValue`.
});

Source

The source is: http://www.vurdering.skat.dk/borger/ejendomsvurdering/Soeg2.do The webpage does not provide an API, so this module scrapes the data from it.

Current Tags

  • 2.1.0                                ...           latest (5 years ago)

4 Versions

  • 2.1.0                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 1
Last Month 2
Dependencies (3)
Dev Dependencies (1)
Dependents (2)