PHP code example of fw4 / whise-webservices
1. Go to this page and download the library: Download fw4/whise-webservices 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/ */
fw4 / whise-webservices example snippets
$client = new \Whise\WebServices('12345');
$estates = $client->getEstateList([
'CountryID' => 1
]);
foreach ($estates as $estate) var_dump($estate->id);
$request = new \Whise\Request\GetEstateListRequest();
$request->countryID = 1;
$request->zipList = [1000];
$client = new \Whise\WebServices('12345');
$estates = $client->getEstates($request);
foreach ($estates as $estate) var_dump($estate->id);