Takes a list of films and collates some stats, such as popular genres, actors, directors, eras and ratings and displays it in a neat infographicy style.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
facebook
lib
.gitignore
.htaccess
README.md
TODO.md
facebook.php
fetch.php
index.html
show.php

README.md

movie-analyser

Takes a list of films and collates some stats, such as popular genres, actors, directors, eras and ratings and displays it in a neat infographicy style.

This extends on an earlier experiment, https://github.com/danielgwood/movie-analyser-script.

Demo

Try it out here: http://movie-analyser.com/

Installing

  1. Clone repo
  2. Get an API key for TMDB: http://docs.themoviedb.apiary.io/
  3. Add "apikey.php" at repo root, and define the API_KEY constant in there
  4. At present, the storage mechanism is serialised text files. Make sure the path defined in \lib\MovieAnalyser::$SAVE_DIR is writable by PHP
  5. Set the BASE_URL constant at the top of show.php to whatever URL your installation is

Contributing

I'm particularly interested to see more data/statistics derived (there's a whole load more data in TMDB which I'm not even accessing). Please forgive any code wibbles - I left this project unfinished for a while, and couldn't actually remember what I was doing when I came back to it.

See the official TODO list: https://github.com/danielgwood/movie-analyser/blob/master/TODO.md

License

Go nuts, but please keep the attributions for TMDB, https://github.com/glamorous, and Nikolay Kuchkarov on display. I'd also appreciate it if you let me know what you do!