PHP code example of xvilo / harvest-forecast
1. Go to this page and download the library: Download xvilo/harvest-forecast 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/ */
xvilo / harvest-forecast example snippets
declare(strict_types=1);
// This file is generated by Composer
Authenticate
$client->authenticate('1622120.xx._xyzabcdefghijklmnopqrstuvw', 123456);
// Call endpoint
$whoAmI = $client->user->whoAmI();
echo json_encode ( $whoAmI, JSON_PRETTY_PRINT );
xvilo/harvest-forecast 1.0.0