wx-sdk

CI

wx-sdk is a WeChat SDK written in Rust.

QuickStart

First, please refer to this page to provide these values: token, EncodingAESKey,EncodingMode. ```rust use wx-sdk::wechat::{ServerConfig, EncodingMode};

let config = ServerConfig::new(token, Some("aeskey"), EncodingMode::Plain); let sdk = WxSdk::newwithdefaulttokenclient("appid", "appsecret", config); Then, you can use the sdk functions, like get current menu info: rust let mpsdk = WxSdk::mp(&sdk); let menu = mpsdk.menu().getcurrentselfmenuinfo().await; ```

Features

Contributing

Issue reports and Pull Requests are always welcome!

License

wx-sdk is available under the MIT License