tfk-dsf
v2.0.0
Published
Look up data from DSF (Det sentrale folkeregisteret)
Downloads
12
Readme
No longer maintained
This module is no longer being maintained.
We have moved all development to node-dsf
tfk-dsf
Node.js module for looking up data from DSF (Det sentrale folkeregister). DSF is register of residents in Norway.
To obtain login credentials and other permissions go to infotorg.no
Installation
From npm
$ npm install tfk-dsf
From GitHub
$ git clone [email protected]:telemark/dsf.git
Run the setup script
$ npm run setup
Usage
'use strict'
var dsfLookup = require('tfk-dsf')
var config = {
url: 'http://ws-test.infotorg.no/xml/ErgoGroup/DetSentraleFolkeregister1_4/2011-09-26/DetSentraleFolkeregister1_4.wsdl',
namespaceBrukersesjon: 'http://ws.infotorg.no/xml/Admin/Brukersesjon/2006-07-07/Brukersesjon.xsd',
distribusjonskanal: 'PTP',
systemnavn: 'Systemname',
brukernavn: 'username',
passord: 'password'
}
var query = {
saksref: 'your-reference',
foedselsnr: '27105500837',
etternavn: 'AMOR',
fornavn: 'SIV'
}
var options = {
config:config,
query: query
}
dsfLookup(options, function(error, data) {
if (error) {
console.error(error);
}
console.log(data);
})