A python library for communicating with non-public Webtoon API.
from webtoon_api import WebtoonApi
api = WebtoonApi()
episode = api.episodeInfo(
titleNo=2702,
episodeNo=1,
serviceZone="GLOBAL",
language="en",
platform="APP_ANDROID"
)
with open("image.jpg", "wb") as file:
file.write(
api.get_static_content(episode["episodeInfo"]["imageInfo"][0]["url"])
)
The general API call looks like
api.<methodName>(<args>)
Using pip
pip install webtoon-api
Using poetry directly from repository
pip install poetry
poetry install
See API.md in docs.
If you are interested in how this library was created, have a look at Reverse-engineering.md in docs