The Movie Info Finder is a Python script that allows you to retrieve information about a movie using the Open Movie Database (OMDb) API.
- 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.
- Python 3.x
- requests library (
pip install requests
)
-
Clone the repository or download the
main.py
file directly. -
Open a terminal or command prompt and navigate to the directory where the
main.py
script is located. -
Run the script using the following command:
python main.py
-
Enter the name of the movie you want to search for when prompted. For example, you can enter "Fight Club".
-
The script will retrieve the movie information and display it in the console.
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.