List pull requests authored by a GitHub user.
Endpoint
/v1/github/profiles/{handle}/pull-requests
Path
GitHub username whose public pull requests should be listed.
Query
Only return pull requests created on or after this date (YYYY-MM-DD).
Only return pull requests created on or before this date (YYYY-MM-DD).
Pagination cursor from a previous response (`data.page.nextCursor`).
const response = await fetch( "https://api.socialfetch.dev/v1/github/profiles/torvalds/pull-requests", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);