vivektiwari660 / omdb_api_calling

Simple application for calling the OMDB rest api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run git clone command

Simple OMDB api calling application in python

  1. Install omdb from internet using: pip install omdb

  2. Generate api keys from the website: http://www.omdbapi.com/apikey.aspx

  3. We also check the requets module, if not installed, we have to install it.

  4. Run python file omdb_api_calling.py in CMD using: python omdb_api.py movie_name (Only one argument to be passed)

  5. Gives the information in the form of Json data.

          (Linux Machine)
    

Note: Create a docker container in the server, and installed python3-pip. After installing all the dependies

  1. Now run python script inside docker container and input movie whose ratings we need.

    python /tmp/OMDB_API.py

    example:- python /tmp/OMDB_API.py The Avengers

  2. For updated code, we want to push code to the /tmp directory...

docker pull vivekk1/omdb_repo:Python-Container 8. Copy the file in the folder.

docker cp file-name :/path

About

Simple application for calling the OMDB rest api


Languages

Language:Python 80.3%Language:Shell 19.7%