nihilarr/the-movie-db-api

A (very) simple library to access The Movie DB data

v0.0.3 2019-09-08 00:54 UTC

This package is auto-updated.

Last update: 2024-05-10 23:40:14 UTC


README

A (very) simple library to access The Movie DB data

Requirements

Install

Composer

composer require nihilarr/the-movie-db-api

Usage

require __DIR__ . '/vendor/autoload.php';

use Nihilarr\TheMovieDbApi;

$tmdb = new TheMovieDbApi('api_key');
$movie = $tmdb->movie(13310);
var_dump($movie);
$movie = $tmdb->movie_by_title('let the right one in', '2008');
var_dump($movie);
$movie = $tmdb->search_movie('let the right one in');
var_dump($movie);

Note

Contributing

License

MIT © Drew Smith