s0ko1ex / webtoon-api

Python library for communicating with non-public Webtoon API

Home Page:https://pypi.org/project/webtoon-api/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Python library for communicating with non-public Webtoon API

https://pypi.org/project/webtoon-api/

License:MIT License


Languages

Language:Python 100.0%