Skip to content

arsonik/imdb-client

Repository files navigation

imdb-client Build Status

IMDb PHP Scrapper, psr-0

Usage

<?php
$s = IMDb\Client::iniWithConfig(include __DIR__ . '/config.sample.php');;

$results = $s->searchMovie('Matrix');
$m = current($results);
$movie = $s->titleWithId($m['id']);
var_dump($movie);
echo json_encode($movie);

$results = $s->searchSeries('new girl');
$m = current($results);
$movie = $s->titleWithId($m['id']);
var_dump($movie);
echo json_encode($movie);

See ./tests/ directory for more examples

About

IMDb PHP Scrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages