#steam #trading #api-key #web-api #tradeoffer

steam-tradeoffer-manager

Makes Steam trade offers easy!

4 releases (breaking)

0.4.0 Mar 30, 2024
0.3.0 Oct 8, 2023
0.2.0 Jul 19, 2023
0.1.0 Jun 16, 2023

#46 in #trading

MIT license

235KB
5K SLoC

steam-tradeoffer-manager

Makes Steam trade offers easy!

Based on the excellent node-steam-tradeoffer-manager.

Features

  • Richly-featured API for creating, accepting, cancelling, and declining trade offers.
  • Manages account trade offer state.
  • Mobile confirmations.
  • Loading inventories.
  • Trade history.
  • Helper method for getting your Steam Web API key.
  • Automatically cancels offers past a set duration during polls.
  • Loads descriptions (classinfos) for assets. Classinfos are cached to file and read when available. The manager holds a Least frequently used (LFU) cache of classinfos in memory to reduce file reads.
  • Uses tokio asynchronous runtime for performing polling.
  • Trade items blazingly fast!

Usage

See examples.

License

MIT

Dependencies

~18–34MB
~546K SLoC