Skip to main content

a Python library for LANraragi API

Project description

lanraragi-api

a Python library for LANraragi API.

Many thanks to the author of this wonderful manga server app.

All the APIs are from the official LANraragi document.

Besides those basic APIs, I also made some enhancements for better use, e.g. lanraragi_api.common.entity.Archive#set_artists(self, artists: list[str])

Demo

See demo.py

from lanraragi_api import LANrargiAPI
from lanraragi_api.common.entity import Archive

apikey = ''
server = 'http://127.0.0.1:3000'
api = LANrargiAPI(apikey, server)

archives: list[Archive] = api.archive.get_all_archives()
print(archives[0])

Build

python.exe .\setup.py bdist_wheel sdist

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

lanraragi_api-0.0.2-py3-none-any.whl (10.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page