PHP code example of ryodevz / afara-restapi

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

    

ryodevz / afara-restapi example snippets




use Ryodevz\Api;

ress = $api->myPublicIp();

echo $ipaddress;


use Ryodevz\Api;

$search = $api->animeku()->search('naruto');
$episodes = $api->animeku()->episodes('naruto-shippuuden');
$video_url = $api->animeku()->video('naruto-shippuuden-episode-488-sub-indo');