Skip to content

mohsinzaheer25/pymovies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movies Info

Overview

Movies Info is a python program that uses OMDb API to get the movie information. It is deployed and run inside a docker container.

API Token

Things You Need To Know

  • Basic Knowledge of - Python - Working of API - Docker

Instructions To Run The Program

  1. Clone the repository

    git clone https://github.com/mohsinzaheer25/moviesinfo.git

  2. Update the token obtain from OMDb in your email inside env_file.

  3. Build the docker images

    docker build -t moviesinfo .
    

    Note: Make sure you are inside the folder where Dockerfile is.

  4. Run the docker container

    docker run -itd --env-file=./env_file --name moviesinfo moviesinfo:latest
    
  5. Search the movie title to get the information of it

     docker exec -it ca505539875 /app/moviesinfo.py transformer
    

    Note: Replace container id (e.g. ca505539875) with your container id from step 4

Expect Output

Title : Fast & Furious 6
Year : 2013
Rotten Tomatoes : 70%
IMDb : 7.1
Actors : Vin Diesel, Paul Walker, Dwayne Johnson, Jordana Brewster
Production : Universal Pictures
Awards : 9 wins & 21 nominations.
Website : http://www.thefastandthefurious.com/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published