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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88dba922ecd7e4826a5ed5d43d174595390beb1b14d4cb7768a5d3eac433022b
|
|
| MD5 |
2e1d3464e9d38abc3ea56b3df0a3e21f
|
|
| BLAKE2b-256 |
2d5b7af81100958643d461a9ceaa84d9bc4c53359a9551b1200bb2521d45c681
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d3f77d8eb37917a03997d71150ae15cd9495224a41aefdb756b18e50ebf8530
|
|
| MD5 |
4c360440dabc94afa1d6130012fb9631
|
|
| BLAKE2b-256 |
f83e6dd9212f4bf630b9a657422514f0f6d7774361c0c9e24fb65579743d475c
|