dev-master
9999999-devPHP package for the ZipCodeAPI by RedLine13
MIT
The Requires
by Konrad Baron
api zip code redline13
PHP package for the ZipCodeAPI by RedLine13
PHP-ZipCode-API-RedLine13 is a PHP class for ZipCodeApi.com by RedLine13. You must first register an account to receive an API key. The API allows a free subscription, but limits the API usage to 250 requests per hour for that level., (*1)
The API currently returns your data in three formats; JSON, CSV and XML. This class has set JSON as the default return format., (*2)
This library requires the use of Composer., (*3)
composer require konradbaron/redline13:dev-master
use KonradBaron\RedLine13\RedLine13; $zipCode = new RedLine13(YOUR_API_KEY);
echo $zipCode->getZipcodeDistance(ZIP_CODE, ZIP_CODE2);
echo $zipCode->getZipcodesByRadius(ZIP_CODE,RADIUS_DISTANCE);
echo $zipCode->getLocationInfoByZipcode(ZIP_CODE);
echo $zipCode->getZipcodesByLocation(CITY, STATE);
echo $zipCode->getZipcodesByState(STATE);
echo $zipCode->getMultipleZipcodesDistance(ZIP_CODE,OTHER_ZIP_CODES);
PHP package for the ZipCodeAPI by RedLine13
MIT
api zip code redline13