PHP code example of saintsweeto / addressfinder

1. Go to this page and download the library: Download saintsweeto/addressfinder 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/ */

    

saintsweeto / addressfinder example snippets


$finder = new AddressFinder(KEY, SECRET, FORMAT);
$response = $finder->endpoint(URI, OPTIONS);

// Example: Call Address Autocomplete endpoint
$response = $finder->endpoint('/address/autocomplete', [
    'q' => '35 Hobson Street',
]);