PHP code example of nolikein / api-derpibooru-facade
1. Go to this page and download the library: Download nolikein/api-derpibooru-facade 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/ */
nolikein / api-derpibooru-facade example snippets
use Nolikein\ApiDerpibooruFacade\Requester;
$requester = new Requester();
use Nolikein\ApiDerpibooruFacade\Models\Image;
/** @var Image $image A model who represent an image */
$image = $requester->getImageById(1);
dd($image->name);