๐ŸŒ
GitHub
github.com โ€บ xampprocky โ€บ octocrab
GitHub - XAMPPRocky/octocrab: A modern, extensible GitHub API Client for Rust. ยท GitHub
1 month ago - Octocrab is a third party GitHub API client, allowing you to easily build your own GitHub integrations or bots in Rust.
Author: XAMPPRocky
๐ŸŒ
Rust
docs.rs โ€บ octorust โ€บ latest โ€บ octorust
octorust - Rust
A fully generated, opinionated API client library for GitHub.
Author: GlenDC
๐ŸŒ
Rust
docs.rs โ€บ github-rust
github_rust - Rust
A Rust library for GitHub API integration with dual GraphQL/REST support.
๐ŸŒ
GitHub
rust-lang-nursery.github.io โ€บ rust-cookbook โ€บ web โ€บ clients โ€บ apis.html
Calling a Web API - Rust Cookbook
use reqwest::header::USER_AGENT; use reqwest::Error; use serde::Deserialize; #[derive(Deserialize, Debug)] struct User { login: String, id: u32, } fn main() -> Result<(), Box<dyn std::error::Error>> { let request_url = format!( "https://api.github.com/repos/{owner}/{repo}/stargazers", owner = "rust-lang-nursery", repo = "rust-cookbook" ); println!("{}", request_url); let client = reqwest::blocking::Client::new(); let response = client .get(request_url) .header(USER_AGENT, "rust-web-api-client") // gh api requires a user-agent header .send()?; let users: Vec<User> = response.json()?; println!("{:?}", users); Ok(()) }
Author: jinxapi
๐ŸŒ
Medium
medium.com โ€บ @dmbtechdev โ€บ using-the-github-api-in-rust-9b2e50dccb2f
Using the GitHub API in Rust. With Octocrab crate | by Baris @dmbtechdev | Medium
January 6, 2025 - The github_api repository demonstrates how to interact with the GitHub API using Rust. This guide will walk you through setting up a new Rust project and understanding the code in env.rs, github.rs, and main.rs.
Find elsewhere
๐ŸŒ
Reddit
reddit.com โ€บ r/rust โ€บ announcing octocat-rs: a github api library written in rust!
r/rust on Reddit: Announcing Octocat-rs: A GitHub API library written in Rust!
March 16, 2022 -

EDIT: I've written a basic comparison of this library with Octocrab and given it its own page in the book

The library hasn't been released yet and is still very much a WIP! This is a call for testers

Beginner's Documentation

Repository

๐ŸŒ
GitHub
github.com โ€บ blurbyte โ€บ restful-rust
GitHub - blurbyte/restful-rust: Super simple RESTful API example in Rust. ยท GitHub
RESTful Rust is straightforward REST API example written in Rust. It shows how to implement and test GET, POST, PUT and DELETE methods with amazing Warp web server framework. ... add clippy (collection of lints) and rustfmt (code formatter) ...
Author: blurbyte
๐ŸŒ
The Rust Programming Language
rust-lang.github.io โ€บ api-guidelines โ€บ about.html
About - Rust API Guidelines
This is a set of recommendations on how to design and present APIs for the Rust programming language.
๐ŸŒ
Rust
docs.rs โ€บ octocrab
octocrab - Rust
The code scanning API. ... GitHub Codespaces API.
๐ŸŒ
DEV Community
dev.to โ€บ dmbtechdev โ€บ using-the-github-api-in-rust-10op
Using the GitHub API in Rust - DEV Community
December 31, 2024 - The github_api repository demonstrates how to interact with the GitHub API using Rust. This guide will walk you through setting up a new Rust project and understanding the code in env.rs, github.rs, and main.rs.
๐ŸŒ
GitHub
github.com โ€บ fussybeaver โ€บ roctokit
GitHub - fussybeaver/roctokit: A rust client library for the GitHub v3 API ยท GitHub
Roctokit is a Rust library providing high-level client interfaces for interacting with the GitHub REST API.
Author: fussybeaver
๐ŸŒ
Lib.rs
lib.rs โ€บ crates โ€บ github_v3
github_v3 โ€” Rust HTTP client // Lib.rs
March 20, 2024 - Minimal async GitHub API v3 client | Rust/Cargo package