PHP code example of kryptonit3 / sickrage

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

    

kryptonit3 / sickrage example snippets


use Kryptonit3\SickRage\SickRage;

public function addShow()
{
    $sickrage = new SickRage('http://127.0.0.1:8081', 'cf7544f71b6c4efcbb84b49011fc965c'); // URL and API Key
    
    return $sickrage->showAddNew(73739, '/volume1/Plex/Shows');
}

$sonarr = new Sonarr('http://127.0.0.1:8081', 'cf7544f71b6c4efcbb84b49011fc965c', 'my-username', 'my-password');