Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 78 | All time: 10,145 This week: 524 |
Version | License | PHP version | Categories | |||
php-imdb-qwerty 1.0.0 | The PHP License | 5 | PHP 5, Web services, Video, Parsers |
Description | Author | |
This package can get details about movie titles on the IMDB site. |
<?php
|
Connecting to imdb.com with curl and data extraction process
<?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:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Title = $imdb->Title();
print_r($Title);
?>
Rating:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Rating = $imdb->Rating();
print_r($Rating);
?>
Vote:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Vote = $imdb->Vote();
print_r($Vote);
?>
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:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Awards = $imdb->Awards();
print_r($Awards);
?>
Director:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Director = $imdb->Director();
print_r($Director);
?>
Writers:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Writers = $imdb->Writers();
print_r($Writers);
?>
Stars:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Stars = $imdb->Stars();
print_r($Stars);
?>
Budget:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Budget = $imdb->Budget();
print_r($Budget);
?>
Country:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Country = $imdb->Country();
print_r($Country);
?>
Language:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Language = $imdb->Language();
print_r($Language);
?>
Color:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Color = $imdb->Color();
print_r($Color);
?>
Aspect Ratio:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Aspect_Ratio = $imdb->Aspect_Ratio();
print_r($Aspect_Ratio);
?>
Official Sites:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Official_Sites = $imdb->Official_Sites();
print_r($Official_Sites);
?>
Runtime:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Runtime_M = $imdb->Runtime_M();
print_r($Runtime_M);
?>
Locations:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Locations = $imdb->Locations();
print_r($Locations);
?>
Certification:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Certification = $imdb->Certification();
print_r($Certification);
?>
Plot Summary:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Plot_Summary = $imdb->Plot_Summary();
print_r($Plot_Summary);
?>
Plot Keywords:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Plot_Keywords = $imdb->Plot_Keywords();
print_r($Plot_Keywords);
?>
Taglines:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Taglines = $imdb->Taglines();
print_r($Taglines);
?>
Genres:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Genres = $imdb->Genres();
print_r($Genres);
?>
Sound Mix:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Sound_Mix = $imdb->Sound_Mix();
print_r($Sound_Mix);
?>
Movie Connections:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Movie_Connections = $imdb->Movie_Connections();
print_r($Movie_Connections);
?>
Soundtracks:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Soundtracks = $imdb->Soundtracks();
print_r($Soundtracks);
?>
Crazy Credits:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Crazy_Credits = $imdb->Crazy_Credits();
print_r($Crazy_Credits);
?>
Quotes:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Quotes = $imdb->Quotes();
print_r($Quotes);
?>
Poster:
<?php
$imdb = new ImdbCurl("https://www.imdb.com/title/tt0068646/");
$Poster = $imdb->Poster();
print_r($Poster);
?>
Media:
<?php
$uri = "https://www.imdb.com/title/tt0068646/mediaviewer/rm1703430656/";
$imdb = new ImdbCurl();
$media = $imdb->Media($uri);
print_r($media);
?>
Files (6) | / | src |
File | Role | Description | ||
---|---|---|---|---|
qwerty (3 files) | ||||
autoload.php | Aux. | Auxiliary script | ||
test.php | Example | Example script |
Files (6) | / | src | / | qwerty |
File | Role | Description |
---|---|---|
ImdbConnection.php | Class | Class source |
ImdbConnectionSchema.php | Class | Class source |
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 |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.