ousat / Project-Movie-Trailer-Website

Showcases usage of IMDB API to fetch movie titles and information and youtube API to fetch movie trailer, presents movie posters and on click of the poster plays the trailer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Movie Trailer Website

Submission for Full-Stack Web Developer Nanodegree

This project loads a html page that contains a list of movie titles along with their posters. When a poster is clicked , its respective trailer gets played.

Requirements:

  • Python 2.7 or Python 3.x

    You can download python here.

  • Google API client

    You can refer to the API instructions and download it from here.

  • tmdbsimple API

    You can refer to the API instructions and download it from here.

Usage:

  1. Clone this project on github

    $ git clone https://github.com/sk15973/Project-Movie-Trailer-Website.git

     			or
    

    download the [zip] (https://github.com/sk15973/Project-Movie-Trailer-Website/archive/master.zip) file.

  2. Then move to the project folder and run entertainment_center.py file with your installed version of python like:

    $ cd Project-Movie-Trailer-Website

    $ python entertainment_center.py

     or
    

    $ python3 entertainment_center.py

  3. This script will create the fresh_tomatoes.html and open a web browser for you to show the page.

Known Issues:

Youtube API returns the first video , it has a check for if its a video, a check on the description or channel regarding the Authenticity of the video does not exist. Kindly change or update if you want to add more movies to the list.

More:

This project was run in Ubuntu 17.04 using Python 3.5. For other versions on other platforms follow here

fresh_tomatoes.py :

This code was provided by Udacity for details :

Visit https://github.com/udacity/ud036_StarterCode

Acknowledgments:

  • Providing course and mentorship - Udacity.
  • Documentations and code samples - Python.

About

Showcases usage of IMDB API to fetch movie titles and information and youtube API to fetch movie trailer, presents movie posters and on click of the poster plays the trailer.


Languages

Language:Python 60.9%Language:HTML 39.1%