1. Go to this page and download the library: Download jacklul/e621-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/ */
$api = new E621();
$api->login('login', 'api_key'); // Set authentication data
$request = $api->dmailInbox();
$api->logout(); // Remove authentication data
$api->setProgressHandler([$this, 'progress']);
$api->setProgressHandler(null); // Unset the handler
$api->setDebugLogHandler([$this, 'logger']);
$api->setDebugLogHandler(null); // Unset the handler
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.