PHP code example of punksolid / doopla
1. Go to this page and download the library: Download punksolid/doopla 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/ */
punksolid / doopla example snippets
use Punksolid\Doopla\Doopla;
use Symfony\Component\HttpClient\MockHttpClient;
$client = new MockHttpClient();
$doopla = new Doopla($client);
$doopla->setEmail('[email protected]');
$doopla->setPassword('password');
$doopla->login();
$balance = $doopla->getBalance();