Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.14 KB

README.md

File metadata and controls

27 lines (18 loc) · 1.14 KB

Movie Info Finder

The Movie Info Finder is a Python script that allows you to retrieve information about a movie using the Open Movie Database (OMDb) API.

Features

  • Retrieves movie information such as title, year, runtime, genre, director, writer, actors, awards, box office earnings, metascore, and IMDb rating.
  • Provides user-friendly console output of the movie information.

Prerequisites

  • Python 3.x
  • requests library (pip install requests)

Usage

  1. Clone the repository or download the main.py file directly.

  2. Open a terminal or command prompt and navigate to the directory where the main.py script is located.

  3. Run the script using the following command:

    python main.py
  4. Enter the name of the movie you want to search for when prompted. For example, you can enter "Fight Club".

  5. The script will retrieve the movie information and display it in the console.

API Key

Please note that the script uses an API key for the OMDb API. The key provided in the script is just an example and might not work if it is outdated or revoked. To get your own API key, visit the OMDb website and sign up for an account.