Expand description
GitHub API client wrapper
Provides clean API for GitHub operations without exposing Octocrab.
§Examples
use gitgix::GitHubClient;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let gh = GitHubClient::with_token("ghp_...")?;
// Use with any GitHub operation
let issue = gitgix::create_issue(
gh,
"owner",
"repo",
"Issue title",
None, None, None
).await?;
Ok(())
}Structs§
- GitHub
Client - GitHub API client wrapper that encapsulates Octocrab.
- GitHub
Client Builder - Builder for creating
GitHubClientwith various authentication methods