jx3-api 0.1.0

JX3API的Rust SDK
Documentation

jx3api-rs

剑侠三API的Rust SDK

路线图

  • 免费
  • vip1
  • vip2
  • WebSocket

安装

Cargo

cargo add jx3-api

Github

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(())
}