Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 120 | All time: 9,502 This week: 524 |
Version | License | PHP version | Categories | |||
usps-zipcode 2 | GNU General Publi... | 7.4 | PHP 5, E-Commerce, Web services |
Description | Author | |||
This package is specific mainly for applications used in United States .
This class can get the zip code of a given location with USPS API. Innovation Award
|
This CLASS is designed to take advantage of the USPS API for looking up the corrected (normalized) address for a given physical address. There is very little examples of implementing the USPS API in PHP.
When you instantiate the class, include the API key. See the example.php file for usage. If you don't have a valid USPS.com API, you can get one free at https://www.usps.com/business/web-tools-apis/welcome.htm
This code was written by request by another developer on phpClasses.org because Streetlayers is going away very soon.
GNU General Public License v3.0 (GNU GPLv3) http://www.gnu.org/licenses/gpl-3.0-standalone.html
Files (4) |
File | Role | Description |
---|---|---|
example.php | Example | Example script |
LICENSE | Lic. | License text |
README.md | Doc. | Documentation |
USPS.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.