Name | schmovie JSON |
Version |
1.0.0
JSON |
| download |
home_page | https://github.com/codewithwan/schmovie |
Summary | 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. |
upload_time | 2023-11-17 17:30:37 |
maintainer | |
docs_url | None |
author | codewithwan |
requires_python | |
license | MIT |
keywords |
sch
omdb
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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
http://www.omdbapi.com/
```
## Installation
Install my-project with npm
```bash
$ pip install schmovie
```
```bash
$ pip install googletrans
```
## Usage
Basic Usage :
```python
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
- [@codewithwan](https://github.com/codewithwan)
Raw data
{
"_id": null,
"home_page": "https://github.com/codewithwan/schmovie",
"name": "schmovie",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "SCH,OMDb",
"author": "codewithwan",
"author_email": "<deezerxstore@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/2d/5b/7af81100958643d461a9ceaa84d9bc4c53359a9551b1200bb2521d45c681/schmovie-1.0.0.tar.gz",
"platform": null,
"description": "\r\n# SCH_Movie\r\nThis 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.\r\n\r\nBy utilizing this project, users can easily search for information about their favorite movies and obtain a summary of the plot in the Indonesian language.\r\n\r\n\r\n\r\n\r\n## API \r\nPython Basic API wrapper\r\n```http\r\n http://www.omdbapi.com/\r\n```\r\n\r\n## Installation\r\n\r\nInstall my-project with npm\r\n\r\n```bash\r\n$ pip install schmovie\r\n```\r\n```bash\r\n$ pip install googletrans\r\n```\r\n\r\n## Usage\r\n\r\nBasic Usage :\r\n\r\n```python\r\nfrom schmovie.movie import Omdb\r\n\r\nomdb = Omdb(\"YOUR_API_KEY\")\r\nmovie_title = input(\"Search Movie : \")\r\nresult = omdb.search_movie(movie_title)\r\n \r\nprint(f\"Judul: {result['Title']}\")\r\nprint(f\"Tahun: {result['Year']}\")\r\nprint(f\"Rating: {result['imdbRating']}\")\r\nprint(f\"Plot: {result['Plot']}\")\r\n```\r\n\r\n\r\n## Authors\r\n\r\n- [@codewithwan](https://github.com/codewithwan)\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "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.",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/codewithwan/schmovie"
},
"split_keywords": [
"sch",
"omdb"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f83e6dd9212f4bf630b9a657422514f0f6d7774361c0c9e24fb65579743d475c",
"md5": "4c360440dabc94afa1d6130012fb9631",
"sha256": "8d3f77d8eb37917a03997d71150ae15cd9495224a41aefdb756b18e50ebf8530"
},
"downloads": -1,
"filename": "schmovie-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4c360440dabc94afa1d6130012fb9631",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3213,
"upload_time": "2023-11-17T17:30:34",
"upload_time_iso_8601": "2023-11-17T17:30:34.711678Z",
"url": "https://files.pythonhosted.org/packages/f8/3e/6dd9212f4bf630b9a657422514f0f6d7774361c0c9e24fb65579743d475c/schmovie-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2d5b7af81100958643d461a9ceaa84d9bc4c53359a9551b1200bb2521d45c681",
"md5": "2e1d3464e9d38abc3ea56b3df0a3e21f",
"sha256": "88dba922ecd7e4826a5ed5d43d174595390beb1b14d4cb7768a5d3eac433022b"
},
"downloads": -1,
"filename": "schmovie-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "2e1d3464e9d38abc3ea56b3df0a3e21f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2997,
"upload_time": "2023-11-17T17:30:37",
"upload_time_iso_8601": "2023-11-17T17:30:37.125186Z",
"url": "https://files.pythonhosted.org/packages/2d/5b/7af81100958643d461a9ceaa84d9bc4c53359a9551b1200bb2521d45c681/schmovie-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-17 17:30:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "codewithwan",
"github_project": "schmovie",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "schmovie"
}