PHP code example of nuboxdevcom / linky

1. Go to this page and download the library: Download nuboxdevcom/linky 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/ */

    

nuboxdevcom / linky example snippets


$linky = new \NDC\Linky\Linky('[email protected]', 'monmotdepasse'); // Vos identifiants Enedis
print_r($link->getDataPerYears());