ksust / http--api Goto Github PK
View Code? Open in Web Editor NEW扩展你的QQ/微信机器人用途,提供跨框架平台的PHP/Java/Python/NodeJS等编程语言SDK。
Home Page: http://work.ksust.com
扩展你的QQ/微信机器人用途,提供跨框架平台的PHP/Java/Python/NodeJS等编程语言SDK。
Home Page: http://work.ksust.com
注册返回后,登陆提示
同步登陆失败
:(
用户名不存在或已被拉黑!
页面自动 跳转 等待时间:
212事件提交的是空白数据,215事件从来没看到过,有一个没标出来的219事件,邀请入群时出现的,提交的信息也是空白!望修复!
from flask import Flask, request, make_response
from httpapi.HTTPSDK import *
# 配置路由,在插件提交返回中配置地址(如本例 http://127.0.0.1:5000)
# Create your views here.
app = Flask(__name__)
@app.route('/', methods=['GET', 'POST'])
def index():
req = request.get_data()
sdk = HTTPSDK.httpGet(req)
print(sdk.getMsg())
sdk.sendPrivdteMsg(sdk.getMsg().QQ, '你发送了这样的消息:' + sdk.getMsg().Msg)
sdk.getLoginQQ()
# 回调演示,提交返回获取群列表、登录QQ等
if sdk.isCallback() and sdk.getMsg().Type == HTTPSDK.TYPE_GET_LOGIN_QQ:
print('Login QQ:' + str(sdk.getLoginQQ()))
return make_response(sdk.toJsonString())
if __name__ == '__main__':
app.run()
群临时消息发送不出去,log记录为好友消息,对方未收到
怎么发送图片消息,图片文本一起的消息,JSON?格式有说明吗
下次更新可以考虑加上这个
And加上 申请加群 这个
在ir易模块中是调用dll查询的
不能加上上层抽象吗。
比如
import http.api.qybot
import http.api.qybotHandler
class Handler(qybotHandler):
def init(self):
pass
def onPrivateMsg(self,msgObject):
pass
qybot.setHandlerClass(Handler)
比如不支持 ♡ 导致后端接收信息的不完整性
HTTPSDKPushDefault 获取群列表getGroupList取不到,导致JSONObject.parseObject(res); 异常
文档上有一个219事件没写出来。
219事件代表的是 邀请入群不需要管理员同意,直接入群的事件。
215 是 邀请入群,对方已同意,管理员未同意的事件。
建议当PHP返回的消息为空时,插件不要显示解析失败。这让小白总以为自己炸了
增加一个取QQ消息中的图片的链接。
禁言这种操作能不能直接用“提交功能”,解析php返回的信息操作。"推送功能"这种操作很多人玩不来。
啥时候可以通过推送发送json和xml
怎么获取机器人Cookie
如题
当使用[ksust,image:pic=图片地址]发送图片时,由于链接为外网链接,导致无法获取图片而报错ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。
是否能够自己设置代理,或能否发送本地图片?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.