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-apiUsing poetry directly from repository
pip install poetry
poetry installSee API.md in docs.
If you are interested in how this library was created, have a look at Reverse-engineering.md in docs