webtoon-api

Python library for communicating with non-public Webtoon API.


Keywords
manga, manhwa, python, reverse-engineering, webtoon, webtoons
License
MIT
Install
pip install webtoon-api==0.1.0

Documentation

Webtoon python API

A python library for communicating with non-public Webtoon API.

Usage example

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>)

Installation

Using pip

pip install webtoon-api

Using poetry directly from repository

pip install poetry
poetry install

API reference

See API.md in docs.

How we got here

If you are interested in how this library was created, have a look at Reverse-engineering.md in docs