rust-traq

Rust Release LICENSE

GitHub release crate

⚠️ Community Driven ⚠️ This is a client library for the traQ API, written in Rust.

This crate is updated using openapi-generator.

Example

Add this crate using cargo add traq, then write in main.rs:

```rust use traq::apis::{channel_api, configuration};

[tokio::main]

async fn main() { let conf = configuration::Configuration { beareraccesstoken: env::var("BOTACCESSTOKEN").ok(), ..Default::default() }; let res = channelapi::getchannels(&conf, Some(true)).await; println!("{:?}", res); } ```