GitHub user repositories by username — stars, language
scrapecreators.x.v1-github-user-repositoriesRetrieves a user's public repositories with repo metadata like description, language, stars, forks, topics, license, visibility, default branch, and timestamps.
- Price
- $0.00188/callプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-github-user-repositories?handle=torvaldsPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
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 |
- クエリパラメータ
url文字列任意GitHub user URL, e.g. https://github.com/kentcdodds.
例:
https://github.com/kentcdoddssort文字列任意Sort by created, updated, pushed, or full_name. Defaults to updated.
例:
updatedtype文字列任意Repository type. Defaults to owner. GitHub also supports all and member.
例:
ownercursor数値任意Cursor from the previous response. Defaults to 1.
例:
1handle文字列任意GitHub username/handle of the user you want the repositories for
例:
torvaldsdirection文字列任意Sort direction: ascending or descending.
例:
desc
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-github-user-repositories?handle=torvalds' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-github-user-repositories?handle=torvalds",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-github-user-repositories?handle=torvalds", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.00188/call です。サービス料を含みます。