themoviedb.org PHP class

This has been superceeded by This Post


This class I have written has been some time in the making, its currently the whats powering the alpha version of 2statereviews V2.    Things it will do for you:

  • Will pull down Actor or Movie information from themoviedb.org using the API (currently defaults to V2.1) and sort info into an array i.e.

    • $tmdb->movie_info('11');

    • $tmdb->actor_info('738');



  • Will pull down Actor or Movie Searches into an Array

    • $tmdb->actor_search('John Cussack');

    • $tmdb->movie_search('the empire strikes back');



  • will cache the output from themoviedb.org locally with a configurable TTL so as to speed things up.


Some examples have been provided.

Note: you'll need to provide your own API key.

Download V1 here



Comments

  1. brentevansonline14 July 2010 at 12:57

    Hey James,
    I enjoy your blog, but I can't find an RSS feed for it - do you have a way to subscribe?

    Thanks!

    ReplyDelete
  2. Good spot added on to the menu for now.

    ReplyDelete
  3. brentevansonline14 July 2010 at 19:57

    Hey James,
    I enjoy your blog, but I can't find an RSS feed for it - do you have a way to subscribe?

    Thanks!

    ReplyDelete
  4. Good spot added on to the menu for now.

    ReplyDelete

Post a Comment

Popular posts from this blog

The Beer Belly

T-Rextasy