mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 18:28:54 +00:00
27 lines
511 B
PHP
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);
|
|
}
|
|
} |