PHP code example of altrozero / get-address-io-php
1. Go to this page and download the library: Download altrozero/get-address-io-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
altrozero / get-address-io-php example snippets
$apiKey = '';
$getAddress = new GetAddress($apiKey);
// Get a list of addresses in a postcode
$getAddress->find('SR51NA');
// Get detailed information about an address
$getAddress->find('SR51NA', 132, false, true, true);
xml
<php>
<var name="GETADDRESS_API_KEY" value="" />
</php>
<testsuites>
<testsuite name="get-address-io-php test">
<file>test/GetAddressTest.php</file>
</testsuite>
</testsuites>