PHP code example of apility / bring-client
1. Go to this page and download the library: Download apility/bring-client 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/ */
apility / bring-client example snippets
return [
'login_id' => '[email protected]',
'api_key' => '00000000-000-0000-0000-000000000000'
];
use Bring;
$postalCode = Bring::lookupPostalCode(5161);
if ($postalCode) {
echo $postalCode->city;
} else {
echo 'Postalcode not found';
}