PHP Classes

PHP IMDB Grabber: Get details about movie titles on the IMDB site

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 78 All time: 10,145 This week: 524Up
Version License PHP version Categories
php-imdb-qwerty 1.0.0The PHP License5PHP 5, Web services, Video, Parsers
Description 

Author

This package can get details about movie titles on the IMDB site.

It can retrieve Web pages about specific movie titles from the IMDB site and parses the information on the pages to extract details about those movies.

Currently, it can retrieve movie details like:

- Title

- Rating

- Vote

- Also Known As (AKA) name

- Awards

- Director

- Writers

- Stars

- Budget

- Country

- Language

- Color

- Aspect ratio

- Official sites

- Run time

- Locations

- Certification

- Plot summary and keywords

- Tag lines

- Genres

- Sound mix

- Movie connections

- Soundtracks

- Crazy credits

- Quotes

Picture of Hicri
  Performance   Level  
Name: Hicri <contact>
Classes: 26 packages by
Country: Turkey Turkey
Age: 30
All time rank: 291048 in Turkey Turkey
Week rank: 170 Up2 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

Example

<?php

use \qwerty\ImdbCurl as ImdbCurl;


require_once
"autoload.php";


$empty = "https://www.imdb.com/title/tt1056017/releaseinfo";

$a = new ImdbCurl("https://www.imdb.com/title/tt0068646/");

/*
$all = $a->All();
$title = $a->Title();
$rating = $a->Rating();
$vote = $a->Vote();
$aka = $a->Also_Known_As();
$awards = $a->Awards();
$director = $a->Director();
$writers = $a->Writers();
$stars = $a->Stars();
$budget = $a->Budget();
$country = $a->Country();
$lang = $a->Language();

$color = $a->Color();

$aspect = $a->Aspect_Ratio();

$offical = $a->Official_Sites();

$runtime = $a->Runtime_M();

$locations = $a->Locations();

$certificion = $a->Certification();

$plot_summery = $a->Plot_Summary();

$plot_keywords = $a->Plot_Keywords();

$taglines = $a->Taglines();

$genres = $a->Genres();

$sound_mix = $a->Sound_Mix();

$Movie_Connections = $a->Movie_Connections();

$Soundtracks = $a->Soundtracks();

$Crazy_Credist = $a->Crazy_Credits();

$Quotes = $a->Quotes();





$Poster = $a->Poster();


$Cast = $a->Cast();


$awards = $a->Poster();

*/
$uri = "https://www.imdb.com/title/tt0068646/mediaviewer/rm1703430656/";
$media = $a->Media($uri);

print_r($media);


Details

PHP-IMDB-qwerty

Connecting to imdb.com with curl and data extraction process

Initialize

<?php

use \qwerty\ImdbCurl as ImdbCurl;
require_once "autoload.php";


$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");

$all = $imdb->All();

print_r($all);

?>

Title ():

Title:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Title = $imdb->Title();
print_r($Title);

?>

Rating ():

Rating:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Rating = $imdb->Rating();
print_r($Rating);

?>

Vote ():

Vote:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Vote = $imdb->Vote();
print_r($Vote);

?>

Also Known As ():

Also Known As:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Also_Known_As = $imdb->Also_Known_As();
print_r($Also_Known_As);

?>

Awards ():

Awards:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Awards = $imdb->Awards();
print_r($Awards);

?>

Director ():

Director:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Director = $imdb->Director();
print_r($Director);

?>

Writers ():

Writers:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Writers = $imdb->Writers();
print_r($Writers);

?>

Stars ():

Stars:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Stars = $imdb->Stars();
print_r($Stars);

?>

Budget ():

Budget:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Budget = $imdb->Budget();
print_r($Budget);

?>

Country ():

Country:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Country = $imdb->Country();
print_r($Country);

?>

Language ():

Language:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Language = $imdb->Language();
print_r($Language);

?>

Color ():

Color:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Color = $imdb->Color();
print_r($Color);

?>

Aspect Ratio ():

Aspect Ratio:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Aspect_Ratio = $imdb->Aspect_Ratio();
print_r($Aspect_Ratio);

?>

Official Sites ():

Official Sites:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Official_Sites = $imdb->Official_Sites();
print_r($Official_Sites);

?>

Runtime ():

Runtime:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Runtime_M = $imdb->Runtime_M();
print_r($Runtime_M);

?>

Locations ():

Locations:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Locations = $imdb->Locations();
print_r($Locations);

?>

Certification ():

Certification:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Certification = $imdb->Certification();
print_r($Certification);

?>

Plot Summary ():

Plot Summary:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Plot_Summary = $imdb->Plot_Summary();
print_r($Plot_Summary);

?>

Plot Keywords ():

Plot Keywords:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Plot_Keywords = $imdb->Plot_Keywords();
print_r($Plot_Keywords);

?>

Taglines ():

Taglines:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Taglines = $imdb->Taglines();
print_r($Taglines);

?>

Genres ():

Genres:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Genres = $imdb->Genres();
print_r($Genres);

?>

Sound Mix ():

Sound Mix:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Sound_Mix = $imdb->Sound_Mix();
print_r($Sound_Mix);

?>

Movie Connections ():

Movie Connections:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Movie_Connections = $imdb->Movie_Connections();
print_r($Movie_Connections);

?>

Soundtracks ():

Soundtracks:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Soundtracks = $imdb->Soundtracks();
print_r($Soundtracks);

?>

Crazy Credits ():

Crazy Credits:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Crazy_Credits = $imdb->Crazy_Credits();
print_r($Crazy_Credits);

?>

Quotes ():

Quotes:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Quotes = $imdb->Quotes();
print_r($Quotes);

?>

Poster ():

Poster:

<?php

$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Poster = $imdb->Poster();
print_r($Poster);

?>

Media ($uri):

Media:

<?php

$uri = "https://www.imdb.com/title/tt0068646/mediaviewer/rm1703430656/";

$imdb = new ImdbCurl();
$media = $imdb->Media($uri);
print_r($media);

?>


  Files folder image Files (6)  
File Role Description
Files folder imagesrc (2 files, 1 directory)
Accessible without login Plain text file README.md Doc. Read me

  Files folder image Files (6)  /  src  
File Role Description
Files folder imageqwerty (3 files)
  Accessible without login Plain text file autoload.php Aux. Auxiliary script
  Accessible without login Plain text file test.php Example Example script

  Files folder image Files (6)  /  src  /  qwerty  
File Role Description
  Plain text file ImdbConnection.php Class Class source
  Plain text file ImdbConnectionSchema.php Class Class source
  Plain text file ImdbCurl.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:78
This week:0
All time:10,145
This week:524Up