Created
October 1, 2012 10:35
-
-
Save joncalhoun/3810822 to your computer and use it in GitHub Desktop.
Verify address with EasyPost and Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EasyPost.setApiKey("ek_0HbTD15HeT6RFTwCKoUQ7rrB2NzMZ"); | |
// Create the address to test | |
EasyPost.Address address = new EasyPost.Address() | |
.setName("Dirk Diggler") | |
.setStreet1("300 Granelli Ave") | |
.setCity("Half Moon Bay") | |
.setState("CA") | |
.setZip("94019"); | |
// Verify the address | |
EasyPost.Address.verify(address); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment