pubg-rs 0.0.2

beta public rust pubg api
Documentation
  • Coverage
  • 0%
    0 out of 7 items documented0 out of 6 items with examples
  • Size
  • Source code size: 51.78 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 655.3 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 46s Average build duration of successful builds.
  • all releases: 47s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • 1mZ1kk4d0

PUBG PUBLIC LIBRARY

  • A library made to reduce code in a personal project ended up becoming a public lib for everyone to use.

  • the library will be constantly updated.

Install

To install just use the command.

  cargo add pubg_rs

HOW TO USE?

use pubg_rs::PubgRs;

async fn main() {

    let pubg = PubgRs::new("api_key_here");

    pubg.get_player("1mZ1kk4d0").await; //Case-sensitive
    pubg.get_player_by_id("player_id").await;
    pubg.get_season_info("player_id", "season_id").await;
    pubg.get_clan("clan_id").await;

}

Source