Skip to main content

A Python library leveraging the OMDb API to fetch movie details based on user-provided titles. It also offers plot translation from English to Indonesian using googletrans.

Project description

SCH_Movie

This project is a Python library that accesses the OMDb API to retrieve information about movies based on user-input titles. Additionally, the library includes a feature to translate movie plots from English to Indonesian using googletrans.

By utilizing this project, users can easily search for information about their favorite movies and obtain a summary of the plot in the Indonesian language.

API

Python Basic API wrapper

  http://www.omdbapi.com/

Installation

Install my-project with npm

$ pip install schmovie
$ pip install googletrans

Usage

Basic Usage :

from schmovie.movie import Omdb

omdb = Omdb("YOUR_API_KEY")
movie_title = input("Search Movie : ")
result = omdb.search_movie(movie_title)
    
print(f"Judul: {result['Title']}")
print(f"Tahun: {result['Year']}")
print(f"Rating: {result['imdbRating']}")
print(f"Plot: {result['Plot']}")

Authors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

schmovie-1.0.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

schmovie-1.0.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page