Brapi
The second Rust implementation on GitHub of third-party REST API client for a website.
Install / Use
/learn @Berylsoft/BrapiREADME
BRAPI
The second Rust implementation on GitHub of third-party REST API client for a website. Designed to be lightweight and efficient.
It's formerly livekit-api (LiveKit), so there are only a few APIs related to live business. More APIs will be implemented later. PRs are also welcomed.
-
Abstract the API to the trait
RestApi, bringing both clear readable code and reduced runtime overhead. And you are able to implement your own API! -
Directly based on
hyper, reducing the redundancy ofreqwestwhich brings more binary size. -
Parse
Accessfrom cookies for requests that require login.
use brapi::{client::Client, live::info::GetRoomInfo};
let client = Client::new_bare();
let room_info = client.call(&GetRoomInfo { sroomid: 23590843 }).await.unwrap();
assert_eq!(room_info.uid, 573732342);
println!("{:?}", room_info);
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
