PHP code example of toit / api
1. Go to this page and download the library: Download toit/api 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/ */
toit / api example snippets
composer dump-autoload
export TOIT_API_KEY=<secret>
php ./examples/list_devices.php