GitHub Activity List Public Events

1积分/次
ae_github_activity_list_public_events

查看 GitHub 上近期的公开活动(如代码推送、问题提交和拉取请求),用于监测开源趋势或跟踪热门仓库。

社交
1积分/次

价格说明

1积分/次
条件费用
每次调用1积分/次

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
pageinteger否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
per_pageinteger否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)."15

调用示例

复制请求代码,查看对应的返回示例。

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_activity_list_public_events' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "page": 1,
    "per_page": 15
  }
}'
返回示例response.json
JSON部分内容
[
  {
    "actor": {
      "avatar_url": "https://avatars.githubusercontent.com/u/41898282?",
      "display_login": "github-actions",
      "gravatar_id": "",
      "id": 41898282,
      "login": "github-actions[bot]",
      "url": "https://api.github.com/users/github-actions[bot]"
    },
    "created_at": "2026-10-07T19:51:18Z",
    "id": "23362305181",
    "payload": {
      "before": "65559cba99e1fe7e111fc7ec10f23dd8daddf396",
      "head": "9cf662909fa935a0e980f271ec4b7ca97f884ec1",
      "push_id": 45772520416,
      "ref": "refs/heads/main",
      "repository_id": 1402034978
    },
    "public": true,
    "type": "PushEvent"
  }
]

返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。