jx3api-rs
剑侠三API的Rust SDK
路线图
- 免费
- vip1
- vip2
- WebSocket
安装
Cargo
Github
Cargo.toml添加github仓库地址
= { = "https://github.com/Natane0808/jx3api-rs" }
快速开始
use Jx3ApiClient;
async
剑侠三API的Rust SDK
cargo add jx3-api
Cargo.toml添加github仓库地址
jx3-api = { git = "https://github.com/Natane0808/jx3api-rs" }
use jx3_api::Jx3ApiClient;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = Jx3ApiClient::new();
let resp = client.calendar(None, None).await?;
println!("resp:{:#?}", resp);
Ok(())
}