arsonik / imdb-client
There is no license information available for the latest version (dev-master) of this package.
IMDb Scrapper. PSR-0
dev-master
2014-01-27 10:21 UTC
Requires
- electrolinux/phpquery: dev-master
This package is not auto-updated.
Last update: 2024-12-17 03:40:51 UTC
README
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