ScrapeCreatorsGitHubDeveloper

GitHub user repositories by username — stars, language

scrapecreators.x.v1-github-user-repositories

Retrieves a user's public repositories with repo metadata like description, language, stars, forks, topics, license, visibility, default branch, and timestamps.

价格
$0.00188/call按供应商原价
成功率
—暂无成功率数据暂无成功率数据
延迟 p50
——
最后验证
—尚未验证
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-github-user-repositories?handle=torvalds预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

参数类型必填说明示例
查询参数
url字符串可选GitHub user URL, e.g. https://github.com/kentcdodds.https://github.com/kentcdodds
sort字符串可选Sort by created, updated, pushed, or full_name. Defaults to updated.updated
type字符串可选Repository type. Defaults to owner. GitHub also supports all and member.owner
cursor数字可选Cursor from the previous response. Defaults to 1.1
handle字符串可选GitHub username/handle of the user you want the repositories fortorvalds
direction字符串可选Sort direction: ascending or descending.desc
  • 查询参数
  • url字符串可选

    GitHub user URL, e.g. https://github.com/kentcdodds.

    示例:https://github.com/kentcdodds

  • sort字符串可选

    Sort by created, updated, pushed, or full_name. Defaults to updated.

    示例:updated

  • type字符串可选

    Repository type. Defaults to owner. GitHub also supports all and member.

    示例:owner

  • cursor数字可选

    Cursor from the previous response. Defaults to 1.

    示例:1

  • handle字符串可选

    GitHub username/handle of the user you want the repositories for

    示例:torvalds

  • direction字符串可选

    Sort direction: ascending or descending.

    示例:desc

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-github-user-repositories?handle=torvalds' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.00188/call 计费,已含服务费。