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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file schmovie-1.0.0.tar.gz.

File metadata

  • Download URL: schmovie-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for schmovie-1.0.0.tar.gz
Algorithm Hash digest
SHA256 88dba922ecd7e4826a5ed5d43d174595390beb1b14d4cb7768a5d3eac433022b
MD5 2e1d3464e9d38abc3ea56b3df0a3e21f
BLAKE2b-256 2d5b7af81100958643d461a9ceaa84d9bc4c53359a9551b1200bb2521d45c681

See more details on using hashes here.

File details

Details for the file schmovie-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: schmovie-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for schmovie-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d3f77d8eb37917a03997d71150ae15cd9495224a41aefdb756b18e50ebf8530
MD5 4c360440dabc94afa1d6130012fb9631
BLAKE2b-256 f83e6dd9212f4bf630b9a657422514f0f6d7774361c0c9e24fb65579743d475c

See more details on using hashes here.

Supported by

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