GitHub user pull requests by username
scrapecreators.x.v1-github-user-pull-requestsSearches public GitHub pull requests authored by a user using GitHub's public search index.
- Price
- $0.00188/callプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-github-user-pull-requests?handle=torvaldsPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
since | 文字列 | 任意 | Only return pull requests created on or after this date. Use YYYY-MM-DD. | 2024-01-01 |
until | 文字列 | 任意 | Only return pull requests created on or before this date. Use YYYY-MM-DD. | 2024-12-31 |
cursor | 数値 | 任意 | Cursor from the previous response. Defaults to 1. | 1 |
handle | 文字列 | 必須 | GitHub username/handle of the user you want pull requests for | torvalds |
- クエリパラメータ
since文字列任意Only return pull requests created on or after this date. Use YYYY-MM-DD.
例:
2024-01-01until文字列任意Only return pull requests created on or before this date. Use YYYY-MM-DD.
例:
2024-12-31cursor数値任意Cursor from the previous response. Defaults to 1.
例:
1handle文字列必須GitHub username/handle of the user you want pull requests for
例:
torvalds
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-github-user-pull-requests?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-pull-requests?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-pull-requests?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 です。サービス料を含みます。