Crates.io | pubg-rs |
lib.rs | pubg-rs |
version | |
source | src |
created_at | 2025-05-06 18:22:02.679428+00 |
updated_at | 2025-05-06 18:39:30.027133+00 |
description | beta public rust pubg api |
homepage | |
repository | |
max_upload_size | |
id | 1662769 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.
To install just use the command.
cargo add pubg_rs
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;
}