PHP code example of zoilomora / ocean-smart-client
1. Go to this page and download the library: Download zoilomora/ocean-smart-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/ */
zoilomora / ocean-smart-client example snippets
tory = new \ZoiloMora\OceanSmartClient\ClientFactory(
new \GuzzleHttp\Client(
[
'base_uri' => BASE_URI,
// ... specific user settings
]
)
);
$client = $factory->build(USER, PASSWORD);
$markings = $client->markings(
new DateTime('2019-06-01'), // from
new DateTime('2019-07-01') // to
);