使用Python制作微信机器人是一个有趣且实用的项目,它可以让您自动化处理微信消息、监控微信群、甚至实现智能聊天等功能。

请求参数
Header 参数
export interface ApifoxModel {
"X-GEWE-TOKEN": string;
[property: string]: any;
}
Body 参数application/json
export interface ApifoxModel {
/**
* 设备ID
*/
appId: string;
[property: string]: any;
}
示例
{
"appId": ""
}
示例代码
curl --location --request POST 'http://api.geweapi.com/gewe/v2/api/label/list' \
--header 'X-GEWE-TOKEN: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": ""
}'
返回响应
成功(200)
HTTP 状态码: 200 内容格式: JSONapplication/json
数据结构
export interface ApifoxModel {
data: Data;
msg: string;
ret: number;
[property: string]: any;
}
export interface Data {
labelList: LabelList[];
[property: string]: any;
}
export interface LabelList {
/**
* 标签ID
*/
labelId?: number;
/**
* 标签名称
*/
labelName?: string;
[property: string]: any;
}
示例
{
"ret": 200,
"msg": "操作成功",
"data": {
"labelList": [
{
"labelName": "朋友",
"labelId": 1
}
]
}
}