1. Go to this page and download the library: Download adrenth/thetvdb2 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/ */
adrenth / thetvdb2 example snippets
$client = new \Adrenth\Thetvdb\Client();
$client->setLanguage('nl');
// Obtain a token
$token = $client->authentication()->login($apiKey, $username, $userKey);
$client->setToken($token);
// Or refresh the token
$client->refreshToken();