typo3/tmdb

This package allow the usage of TMDB database. You need a personal API key to use the API. Please check the condition on the TMDB website.

0.5.7 2015-02-13 19:01 UTC

README

This contains the TYPO3 Flow package "TYPO3.Tmdb" to help you with The Movie Database (TMDb) API.

Installation

  1. Just install and activate the package
  2. Use the given service
$movies = $this->tmdbService->search('movie', array(
        'query' => 'Florence'
));
$this->view->assign('movies', $movies);

Tips

You can retrive expended information, by adding a third parameter to the search method:

$movies = $this->tmdbService->search('movie', array(
        'query' => 'Florence'
), TRUE);
$this->view->assign('movies', $movies);

Roadmap

  1. Migration to composer package (to be compatible with the next version of TYPO3 Flow)
  2. Adding a cache to avoid calling the webservice to often
  3. Adding Viewhelpers to render the return objects