From 4f24896b152b867061f27a1b8a9e0f59b7f613f7 Mon Sep 17 00:00:00 2001 From: hhhkkk520 Date: Thu, 9 Jun 2022 13:11:09 +0200 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=EF=BC=9A=E4=B8=AD=E8=8B=B1?= =?UTF-8?q?=E6=96=87API=E6=96=87=E6=A1=A3=EF=BC=8C=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=A1=88=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en_US/guide/api.md | 5 +++++ docs/guide/api.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/docs/en_US/guide/api.md b/docs/en_US/guide/api.md index 3ca29d5a..c3338373 100644 --- a/docs/en_US/guide/api.md +++ b/docs/en_US/guide/api.md @@ -148,3 +148,8 @@ JSON Return Example: ] } ``` + +## Case - Build your own Telegram bot to query server information +Refer to [Community Project](https://github.com/spiritLHLS/nezha_api_tgbot) (Chinese) +The bot can request server status information from the Dashboard through the API, and then send the information to the user. +You can build this bot to easily view the current status of a given server without opening the Dashboard. \ No newline at end of file diff --git a/docs/guide/api.md b/docs/guide/api.md index bf79bfdb..72cec612 100644 --- a/docs/guide/api.md +++ b/docs/guide/api.md @@ -148,3 +148,8 @@ JSON返回示例: ] } ``` + +## 使用案例 - 自建一个TG机器人来查询服务器信息 +参考[社区项目](https://github.com/spiritLHLS/nezha_api_tgbot) +机器人可以通过API向面板请求服务器状态信息,得到信息后发送给用户 +你可以搭建此机器人来方便地查看指定服务器的当前状态且不需要打开面板 \ No newline at end of file