Pulls
Interact with GitHub Pull Requests.
Operations
Example
List pull requests, with the TypeScript SDK:
ts
import { GitHubV3REST } from "github";
const client = new GitHubV3REST({
baseUrl: "https://api.github.com",
});
const result = await client.pulls.list({
owner: "owner",
repo: "repo",
});
console.log(result);Nine more languages
The same call exists in every SDK. See SDKs for the other nine.