1.0.5 • Published 7 years ago
smarty-streets-unofficial-api v1.0.5
unofficial-smarty-streets
unofficial wrapper for smarty streets api
usage
const smartystreets = require('smarty-streets-unofficial-api')({auth_id:'YOUR_AUTH_ID', auth_token:'YOUR_AUTH_TOKEN'});
smartystreets.clean_address({prefix: 'prefix', city_filter: 'city', state_filter: 'state'}, (err, res) => {
console.log(res);
});
smartystreets.validate_address('full address as string here', (err, res) => {
console.log(res);
});