GitHub Licenses Get All Commonly Used
1积分/次
ae_github_licenses_get_all_commonly_used
浏览并对比常用开源许可证(如 MIT、Apache 2.0、GPL),查看其名称、SPDX 标识符及说明。
1积分/次
价格说明
1积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 1积分/次 |
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
page | integer | 否 | The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | 1 |
featured | boolean | 否 | 暂无参数说明。 | — |
per_page | integer | 否 | The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | 30 |
调用示例
复制请求代码,查看对应的返回示例。
POST
/agent-api/v1/tool/executeX-Api-Key请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_github_licenses_get_all_commonly_used' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"page": 1,
"per_page": 30
}
}'返回示例response.json
[
{
"key": "agpl-3.0",
"name": "GNU Affero General Public License v3.0",
"node_id": "MDc6TGljZW5zZTE=",
"spdx_id": "AGPL-3.0",
"url": "https://api.github.com/licenses/agpl-3.0"
}
]返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。

