From 349589c86519b6a23f4f6d7adfaf42eab4c768ff Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 13 Jul 2026 09:32:43 +0000 Subject: [PATCH] =?UTF-8?q?fix(#8):=20=E4=BF=AE=E6=AD=A3=20Python-SDK=20?= =?UTF-8?q?=E6=9B=BF=E4=BB=A3=E6=96=B9=E6=A1=88=EF=BC=8C=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E4=B8=8D=E5=AD=98=E5=9C=A8=E7=9A=84=20agc=20=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- suites-help/SDK参考/Python-SDK.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/suites-help/SDK参考/Python-SDK.md b/suites-help/SDK参考/Python-SDK.md index 83437e3..6d2f462 100644 --- a/suites-help/SDK参考/Python-SDK.md +++ b/suites-help/SDK参考/Python-SDK.md @@ -1,8 +1,14 @@ # Python SDK(已废弃) -`agentgis-sdk` 已不再维护。功能已被 `gis-actions` 命令行工具覆盖。 +`agentgis-sdk` 已不再维护。功能已被 `gis-actions` 命令行工具和 Suite Market API 覆盖。 替代方案: -- `agc suites list` — 列出套件 -- `agc run` — 执行套件 -- `agc publish upload` — 发布套件 + +| 原 SDK 功能 | 替代方式 | +|------------|---------| +| 列出套件 | `curl -s https://suites.mercator.cn/api/v1/suites` | +| 搜索套件 | `curl -s 'https://suites.mercator.cn/api/v1/suites/search?q=关键词'` | +| 执行套件 | `agc run --suite-id --input key=value` | +| 发布套件 | `POST https://suites.mercator.cn/api/v1/publish`(见发布指南) | + +完整 API 文档:[https://suites.mercator.cn/docs](https://suites.mercator.cn/docs)