Skip to content

Commit 6e6e655

Browse files
committed
feat: add new section on usage examples in API reference
- Introduce a section detailing the effects and usage of the MultiPost extension - Provide practical examples for running a Node and utilizing the Restful API - Enhance the overall documentation for better understanding of features
1 parent 22ff1d3 commit 6e6e655

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

content/docs/api-reference/web.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ title: Overview
66

77
开发者首先需要在 `multipost.app` 中创建一个账号,然后通过 `multipost.app` 的 API 接口,来实现扩展信息获取、发布任务创建等功能。
88

9+
## 效果
10+
1. 现在需要一个在图形系统(比如 Windows、Linux GUI、MacOs)上面长时间运行一个安装了扩展的浏览器。称之为 “维护 Node”。
11+
12+
2. 注册 MultiPost 账号,然后在网页端连接扩展,并登记到 MultiPost 后台。成为 Node
13+
14+
3. 你可以用 Restful 接口调用这个 Node 执行发布任务。
15+
16+
### 示例
17+
1. 你在自己的电脑上面,维护了一个 Node,然后用 cron 定时任务,每天定时运行发布天气讯息。
18+
2. 你在自己的电脑上面,维护了一个 Node,然后用 Python 脚本调用 Node 的 Restful 接口,来发布 Meme 图片。
19+
3. 你在云电脑上面,维护了一个 Node,然后用服务器上的 Shell 脚本调用 Node 的 Restful 接口,来发布新闻资讯。
20+
921
## 使用
1022

1123
1.[multipost.app](https://multipost.app) 中创建一个账号

0 commit comments

Comments
 (0)