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)