botillon-sdk 0.1.0

SDK officiel Botillon : statistiques live, heartbeat, shards, commandes et profil.
Documentation
  • Coverage
  • 1.92%
    1 out of 52 items documented0 out of 15 items with examples
  • Size
  • Source code size: 25.8 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 361.8 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 7s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • joynix28

botillon-sdk (Rust)

use botillon_sdk::{BotillonClient, Stats};

let client = BotillonClient::new(std::env::var("BOTILLON_TOKEN")?);
let stats = Stats { server_count: 1234, shard_count: Some(1), shards: None, user_count: None };
client.post_stats(&stats)?;

Voir https://botillon.fr/api-docs/sdk