Skip to content

Movie and TV Database API, Scrapes data from theMovieDB, theTvDB, OMDB (omdbapi.com)

Notifications You must be signed in to change notification settings

bhutanio/movietvdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

theMovieDB, theTVDB and OMDB API Wrapper

Dependency Status

Requirements

  • PHP 5.6.4+ (7.0+ preferred)
  • PHP Extensions: openssl, mbstring, phpredis
  • Redis Server
  • Composer

API Keys

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');

About

Movie and TV Database API, Scrapes data from theMovieDB, theTvDB, OMDB (omdbapi.com)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages