Skip to content

pforret/pf_kijkwijzer

Repository files navigation

Retrieve Kijkwijzer.be/Cinecheck.be movie ratings

Github: GitHub tag Tests Psalm

Packagist: Packagist Version Packagist Downloads

Installation

You can install the package via composer:

composer require pforret/pf_kijkwijzer

Usage

$obj = new Pforret\PfKijkwijzer();
$movies = $obj->search('Top Gun!');
$movie = $obj->first('Avatar', 2009, 5, PfKijkwijzer::FILTER_MOVIES);
// Pforret\PfKijkwijzer\Format\KijkwijzerResult Object
// (
//     [title] => Avatar
//     [url] => https://www.kijkwijzer.be/film/avatar/
//     [release_year] => 2009
//     [type] => Speelfilm
//     [rating] => Leeftijd 12
//     [minimum_age] => 12
//     [warnings] => Array
//         (
//             [0] => Geweld
//             [1] => Angst
//         )
// )

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email author_email instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Look up Kijkwijzer/Cinecheck rating for movies

Topics

Resources

License

Stars

Watchers

Forks

Languages