GeWe框架个人微信号自动化开发框架
GeWe开放平台是基于微信开放平台的二次封装API服务,开发者可以使用本服务来处理微信中的各种事件,并可以通过后台调用对应的 API 来驱动微信自动执行任务,如自动收发消息、自动化应答、自动群邀请、群管理等,封装了RPA技术流程,简化开发者二次开发难度,提供了开发者与微信对接的能力,使用简单,操作快捷,支持多种语言接入。
请求参数
Header 参数
export interface ApifoxModel {
"X-GEWE-TOKEN": string;
[property: string]: any;
}
Body 参数application/json
export interface ApifoxModel {
/**
* 设备ID
*/
appId: string;
/**
* 好友的wxid列表
*/
wxids: string[];
[property: string]: any;
}
示例
export interface ApifoxModel {
/**
* 设备ID
*/
appId: string;
/**
* 好友的wxid列表
*/
wxids: string[];
[property: string]: any;
}
示例代码
curl --location --request POST 'http://api.geweapi.com/gewe/v2/api/group/createChatroom' \
--header 'X-GEWE-TOKEN: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "",
"wxids": [
"wxid_0xsqb3o0tsvz22",
"wxid_phyyedw9xap22"
]
}'
返回响应
export interface ApifoxModel {
data: Data;
msg: string;
ret: number;
[property: string]: any;
}
export interface Data {
/**
* 群ID
*/
chatroomId: string;
/**
* 群头像的base64图片
*/
headImgBase64: string;
[property: string]: any;
}
示例
{"ret":200,"msg":"操作成功","data":{"headImgBase64":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBD