Search for movies and get information like title, year, runtime and genre β directly from your terminal.
1. Install the dependency:
pip install requests
2. Get your free API key at omdbapi.com
3. Add your key inside movies.py:
key = 'your_api_key_here'4. Run:
py movies.py
Type the name of the movie: Inception
Title: Inception
Year: 2010
Runtime: 148 min
Genre: Action, Adventure, Sci-Fi
- π Search any movie by name
- π Returns title, year, runtime and genre
- β‘ Lightweight β only one external dependency