A wrapper for the Destiny 2 / Bungie.net API written in rust.
Check out the JavaDestinyAPI, if you need a Java implementation.
(Rustiny usually uses the most recent version of Rust)
In addition to these examples, check out src/lib.rs for the tests that I use.
Getting a User With A Name And Discriminator
rust
let client = ApiInterface::new("YOUR API KEY HERE", true).await;
println!("{}", BungieUser::get_user_by_name_and_discrim_with_platform(client, String::from("dec4234#9904"), DestinyPlatform::All)
.await
.unwrap()
.primary.global_display_name);