resoul/imdb

There is no license information available for the latest version (0.1.3) of this package.

Imdb parser

0.1.3 2025-01-02 19:06 UTC

This package is auto-updated.

Last update: 2025-05-30 20:02:25 UTC


README

IMDB parser


Box Office Mojo parser for demo purpose only.

Installation

The preferred way to install this extension is through composer:

composer require resoul/imdb

Basic Usage

use resoul\imdb\Parser;
use resoul\imdb\model\IMDB;

try {
    /**@var $data IMDB */
    $data = (new Parser())
        ->setCacheFolder('/path/to/cache/')
        ->byWeekend('2024W48') // or byYear(1999)
        ->run();
} catch (Exception $e) {
    echo $e->getMessage();
}