2 unstable releases
|0.5.0||Jun 10, 2022|
|0.4.2||Nov 12, 2021|
#5 in #steam-authentication
This library provides functionality regarding Steam Trade.
You can create accept, deny and create new trade offers, and in the future automatically keep track of statuses changes of offers through auto managed API calls.
This will include getting new Assetids after the trade is complete among other features.
To use it, add this to your Cargo.toml:
[dependencies.steam-trading] version = "^0.4"
- Abstractions of Trade Offers, and assets to make offers easy to use;
- Create and send a new trade offer;
- Accept and Deny trade offers;
Steam trade manager is the module that allows you to automate trade offers, by extending
It inherently needs
SteamAuthenticator as a dependency, since we need cookies from Steam Community and Steam Store
to be able to create and accept trade offers, along with mobile confirmations.
IT IS VERY IMPORTANT THAT STEAM GUARD IS ENABLED ON THE ACCOUNT BEING USED, WITH MOBILE CONFIRMATIONS.
SteamAuthenticator is "stateless", in comparison of alternatives such as Node.js.
This means that it does not need to stay up running and react to events.
But this also means that you will need to keep track of trades and polling yourself, but it won't be much work, since there are convenience functions for almost every need.
Perhaps the event based trading experience will be an extension someday, but for now this works fine.
Compiles on stable Rust.