A Node wrapper for the national adress api.
$ npm install gouv-national-address-api
or
$ npm install git://github.com/Raesta/gouv-national-address-api.git
var NationalAddressAPI = require('gouv-national-address-api');
var NationalAddress = new NationalAddressAPI();
NationalAddress.search({text: '1 avenue république'}, function(error, result) {
console.log(error, result);
});
NationalAddress.search({text: '1 avenue république', limit: 3}, function(error, result) {
console.log(error, result);
});
- add search csv
- add reverse csv