kickasssubtitles/open-subtitles

PHP client for OpenSubtitles API

dev-master 2020-07-08 17:44 UTC

This package is auto-updated.

Last update: 2024-11-09 21:01:45 UTC


README

Usage

$client = KickAssSubtitles\OpenSubtitles\OpenSubtitlesClient::create([
    'username'  => 'USERNAME',
    'password'  => 'PASSWORD',
    'useragent' => 'USERAGENT',
]);

$response = $client->searchSubtitles([
    [
        'sublanguageid' => 'pol',
        'moviehash' => '163ce22b6261f50a',
        'moviebytesize' => '2094235131',
    ]
]);

var_dump($response->toArray());