PHP code example of bigbank / omniva
1. Go to this page and download the library: Download bigbank/omniva 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/ */
bigbank / omniva example snippets
$addressSearchService = $omniva->getService(AddressSearchInterface::class)
->setApiKey(getenv('OMNIVA_PASSWORD'))
->findAddresses('Tartu mnt 18');
$addressSearchService = new AddressSearch(
new SingleAddress2_5_1PortTypeService($soapOptions, $wsdlUrl),
new SingleAddress2_5_1Request
);
bash
$ OMNIVA_PASSWORD="<secret-string>" php examples/search-address.php