4 releases
0.1.12 | Mar 22, 2022 |
---|---|
0.1.11 | Mar 14, 2022 |
0.1.1 | Mar 12, 2022 |
0.1.0 | Feb 22, 2022 |
#2 in #destiny
22 downloads per month
77KB
1.5K
SLoC
Rustiny
A wrapper for the Destiny 2 / Bungie.net API written in rust.
Check out the JavaDestinyAPI, if you need a Java implementation.
Check it out on crates.io
Usage
(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
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);
Get the name of the founder of a clan
let clan = Clan::get_by_name(get_api().await.client, "Heavenly Mayhem").await.unwrap();
println!("{}", clan.founder.destinyUserInfo.global_display_name);
Development Outlook
-
Stats
- Users
- User from Steam ID
ClansCharactersActivity History / PGCRs- Manifest
- Destiny Item / Weapons / Armor
- Item Searching
- Character Equipment
- Collections
- Triumphs
- Metrics?
- Crafting Recipe Items?
- Leaderboards
- Clan - Aggregate/Leaderboards
- Character
- Destiny Aggregate Activity Stats
- Users
-
OAuth
- Implement OAuth API
- Support OAuth Flow
- Users
- Request to join clan
- Unequipped items
- Clans
- Pending/Banned Members
- Accepting / Inviting
- Banning / Kicking
- Updating description / other details
- Social
- Inventory Management
- Transfer from postmaster
- Transfer to vault
- Transfer to other character
- Insert Plugs
- Misc.
- Report PGCR player
Version 0.1.12 - March 22, 2022
- Wrapped up PGCRs
- Added get_activity_history()
- Added Tester struct to prevent unnecessary repetition
- Clan Founder info
- Clan Weekly Rewards
- Clan Weekly Reward Manifest puller
- Added more stuff to Development To-Do List
- Add another example to the README
Dependencies
~8–21MB
~274K SLoC