library movietvdb
Movie and TV Database API, Scrapes data from themoviedb.org (tmdb), thetvdb.com (tvdb) and omdbapi.com (omdb)
bhutanio/movietvdb
Movie and TV Database API, Scrapes data from themoviedb.org (tmdb), thetvdb.com (tvdb) and omdbapi.com (omdb)
- Saturday, August 5, 2017
- by abixalmon
- Repository
- 5 Watchers
- 6 Stars
- 177 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 5 Forks
- 0 Open issues
- 1 Versions
- 1 % Grown
theMovieDB, theTVDB and OMDB API Wrapper
, (*1)
Requirements
-
PHP 5.6.4+ (7.0+ preferred)
- PHP Extensions: openssl, mbstring, phpredis
-
Redis Server
- Composer
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');
dev-master
9999999-dev
Movie and TV Database API, Scrapes data from themoviedb.org (tmdb), thetvdb.com (tvdb) and omdbapi.com (omdb)
Sources
Download
MIT
The Requires
The Development Requires
laravel
api
thetvdb
tv
movie
tmdb
omdb
themoviedb
omdbapi