cdyne-address
Advanced tools
Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "cdyne-address", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "CDYNE Postal Address Verification API node.js wrapper", | ||
@@ -25,3 +25,4 @@ "main": "./lib/cdyne-address.js", | ||
"mocha": "^1.20.1" | ||
} | ||
}, | ||
"tonicExampleFilename": "example.js" | ||
} |
@@ -24,3 +24,3 @@ cdyne-address | ||
###verifyAddress | ||
`verifyAddress` accepts a U.S. or Canadian address as input and returns a corrected, standardized address, with geolocation, mailing industry, and census data. The service will try to match the input to USPS address data even when the provided information is misspelled or missing. | ||
`verifyAddress` accepts a U.S. or Canadian address as input and returns a corrected, standardized address, with geolocation, mailing industry, and census data. The service will try to match the input to USPS address data even when the provided information is misspelled or missing. | ||
@@ -33,7 +33,7 @@ ```js | ||
client.verifyAddress('111 Grandby St', '', 'Norfolk', 'VA', '23510', { | ||
// options | ||
ReturnGeoLocation: true | ||
}, function(error, data) { | ||
console.log(data); | ||
}); | ||
// options | ||
ReturnGeoLocation: true | ||
}, function(error, data) { | ||
console.log(data); | ||
}); | ||
``` | ||
@@ -69,3 +69,3 @@ | ||
###options | ||
The `options` parameter expects an object. Options will allow additional information about the address to be returned, if available. | ||
The `options` parameter expects an object. Options will allow additional information about the address to be returned, if available. | ||
```js | ||
@@ -75,10 +75,10 @@ // Possible options | ||
"ReturnCaseSensitive": true, // turn off default “all uppercase” return of street names. | ||
"ReturnCensusInfo": true, | ||
"ReturnCityAbbreviation": true, | ||
"ReturnGeoLocation": true, | ||
"ReturnLegislativeInfo": true, | ||
"ReturnMailingIndustryInfo": true, | ||
"ReturnResidentialIndicator": true, | ||
"ReturnStreetAbbreviated": true, | ||
"ReturnCensusInfo": true, | ||
"ReturnCityAbbreviation": true, | ||
"ReturnGeoLocation": true, | ||
"ReturnLegislativeInfo": true, | ||
"ReturnMailingIndustryInfo": true, | ||
"ReturnResidentialIndicator": true, | ||
"ReturnStreetAbbreviated": true, | ||
} | ||
``` |
8020
6
144