日志#

管理青龙日志模块

class qlapi.qllog(url: str, post: int, client_id: str, client_secret: str)[源代码]#

青龙面板api日志模块

url: 青龙面板IP地址(不包含http://)

post: 青龙面板端口

client_id: 青龙面板openapi登录用户名

client_secret: 青龙面板openapi登录密码

Usage::
>>> ql_log = qllog(
    url="12.22.43.23",
    port=5700,
    client_id="admin",
    client_secret="abcdefg_",
)
ql_log.list()
list()[源代码]#

获取日志文件列表

返回

源相应json