Interface GitHubClientOptions

Constructor options for GitHubClient.

interface GitHubClientOptions {
    apiUrl?: string;
    token: string;
}

Properties

Properties

apiUrl?: string

The base URL of the GitHub API. Defaults to 'https://api.github.com'. Override for GitHub Enterprise Server (e.g., 'https://github.mycompany.com/api/v3').

token: string

A GitHub personal access token (ghp_...), OAuth token, or GitHub App installation token