kminek / open-subtitles
This package is abandoned and no longer maintained.
The author suggests using the kickasssubtitles/open-subtitles package instead.
PHP client for OpenSubtitles API
dev-master
2020-07-08 17:44 UTC
This package is not auto-updated.
Last update: 2022-02-01 12:59:28 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());