bhutanio / movietvdb
Movie and TV Database API, Scrapes data from themoviedb.org (tmdb), thetvdb.com (tvdb) and omdbapi.com (omdb)
Installs: 751
Dependents: 0
Suggesters: 0
Security: 0
Stars: 17
Watchers: 6
Forks: 11
Open Issues: 0
Requires
- php: >=5.6.4
- guzzlehttp/guzzle: 6.*
- moinax/tvdb: 1.*
- nesbot/carbon: 1.*
- predis/predis: 1.*
- symfony/css-selector: 3.*
- symfony/dom-crawler: 3.*
Requires (Dev)
- phpunit/phpunit: ~6.3
- symfony/var-dumper: ~3.3
This package is auto-updated.
Last update: 2024-12-11 08:31:24 UTC
README
Requirements
API Keys
- theMovieDB: https://www.themoviedb.org/documentation/api
- theTVDB: https://api.thetvdb.com/swagger
- OMDB: http://www.omdbapi.com/
Usage
$client = new \Bhutanio\Movietvdb\MovieScrapper('TMDB_API_KEY', 'TVDB_API_KEY', 'OMDB_API_KEY'); // Get Movie Information by IMDB ID $movie = $client->scrape('movie', 'tt0120737'); // Get Movie Information by TheMovieDB ID $movie = $client->scrape('movie', null, '120'); // Get TV Information by IMDB ID $tv = $client->scrape('tv', 'tt0944947'); // Get Person information by TheMovieDB's Person ID $person = $client->person('1327');