Python wrapper for Webtoon data
Project description
webtoon_data
As an avid WEBTOON reader, I was inspired to create a Python wrapper that would display information regarding the top / hottest / most relevant WEBTOONs available today. There are two sections on the WEBTOON website or app, Canvas and Originals, which refer to content that is published independently and content that is licensed by WEBTOON respectively.
The API I found (on RapidAPI; link below) provides access to all listings available on the WEBTOON platform, in both Canvas and Original. This python wrapper can create ranked lists of any length by genre, provide recommendations with synopses of recommended titles, and get basic information such as names of the author and illustrator and a list of available genres.
API referenced: https://rapidapi.com/apidojo/api/webtoon
Installation
$ pip install webtoon_data
Usage
Get the title number of a WEBTOON.
>>> get_webtoon_num('True Beauty')
>>> The title number for (that WEBTOON) is 1436, hope that helps! :)
Get the title name with the title number of a WEBTOON.
>>> get_webtoon_title(3210)
>>> The Spark in Your Eyes
Provide a list of genres available on the WEBTOON platform.
>>> get_webtoon_genre_list
>>> ['Drama', 'Fantasy', 'Comedy', 'Action', 'Slice of life', 'Romance', 'Superhero', 'Sci-fi', 'Thriller', 'Supernatural', 'Mystery', 'Sports', 'Historical', 'Heart-warming', 'Horror', 'Informative']
What are the top ranking WEBTOONs in specified genre of n length?
>>> get_webtoon_list_ranking('ROMANCE', 25)
>>> ['Lore Olympus', 'Down To Earth', 'Marry My Husband', 'Operation: True Love', 'Maybe Meant to Be',
'The Doctors are Out', 'Go Away Romeo', 'True Beauty', 'The Kiss Bet', 'Hello Baby', 'SubZero', 'Villain with a Crush',
'Night Owls & Summer Skies', 'Act Like You Love Me!', 'The Blind Prince', 'Leveling Up My Husband to the Max',
'My Gently Raised Beast', 'For My Derelict Favorite', 'Blood Reverie', 'Be My Villain', 'My Reason to Die',
'The RUNWAY', 'Perfect Marriage Revenge', 'Bitten Contract', 'Sixth Sense Kiss']
Can you give me a recommendation of a WEBTOON to read from a title I provide?
>>> get_recommendations(1436)
>>> Here are three WEBTOONs that we recommend if you enjoy True Beauty:
title ... synopsis
0 SAVE ME ... Seven boys. Best friends. Their fates intertwi...
1 Edith ... Edith is not your typical heroine. She struggl...
2 KILLMAX ... Born into a bloodline of witches, Max is force...
License
webtoon_data
was created by Kim Eunji. It is licensed under the terms of the MIT license.
Credits
webtoon_data
was created with cookiecutter
and the py-pkgs-cookiecutter
template.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file webtoon_data-0.1.1.tar.gz
.
File metadata
- Download URL: webtoon_data-0.1.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74769cd61118f8f4e4fe6730b20a65f479b5c0bd169d328997a470a7c0b9d7e6 |
|
MD5 | b16f8f610f3cafae3bb9cde8f896a09c |
|
BLAKE2b-256 | 490f110c5ebb4288741cf18e066ae649525af3d19290c219b98a65ea3cac6e58 |
File details
Details for the file webtoon_data-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: webtoon_data-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5600a3590c10d07a5ab768be790d97589dbce7d4088e8c052268b8b3cbfb7e26 |
|
MD5 | ba591012b79b77f48481e342d0591c30 |
|
BLAKE2b-256 | 71531754a8363ffc0d48c6796f9236c3fa8fa7b5ecce3120d82c931a3d670f07 |