Willump:用于英雄联盟LCU API的Python3帮助程序库 源码

上传:qqsilky21871 浏览: 9 推荐: 0 文件:ZIP 大小:8KB 上传时间:2021-04-06 15:18:10 版权申诉
威伦普 Willump是英雄联盟LCU API的Python3帮助器。 Willump是异步的,可以在HTTPS和WSS通道上进行通信。 开始柳树 启动Willump很简单: from willump import Willump import asyncio willump = await Willump . start () 这将启动willump的http和websocket客户端,并阻塞直到willump可以连接到League Client Ux进程和服务器 使用HTTP方法 Willump可以向任何LCU端点发出http请求 response = await willump . request ( 'get' , '/lol-summoner/v1/current-summoner' ) #request can be used to execute 'get', as we
上传资源
用户评论