SmartyStreets Address Validation PHP Example?
smartystreets, street-address, validation
Solution
Sure -- we have sample code at our GitHub repository. There's 3 examples there:
- A request to our API using cURL (can handle many addresses at once)
- A GET request. Easy, but only supports one address per request
- A "SLAP" (Single-Line Address Processing) example which shows how to verify an address if it's not already split into components like street, city, state, etc.
If you have any further questions, I'd be happy to help; I wrote these examples.
Problem
Can I get a sample PHP code example which calls SmartyStreets LiveAddress API for address validation?