Files
newznab-tmux/newznab/controllers/TVDB.php
T
2015-10-05 11:41:42 +02:00

27 lines
511 B
PHP

<?php
use newznab\utility\Utility;
use libs\Moinax\TVDB\Client;
/**
* Class TVDB
*/
class TVDB extends TV
{
const TVDB_URL = 'http://thetvdb.com';
const TVDB_API_KEY = '31740C28BAC74DEF';
const MATCH_PROBABILITY = 75;
/**
* @var \libs\Moinax\TVDB\Client
*/
public $client;
/**
* @param array $options Class instances / Echo to cli?
*/
public function __construct(array $options = [])
{
parent::__construct($options);
$this->client = new Client(self::TVDB_URL, self::TVDB_API_KEY);
}
}