#steam #trading #api-key #cache #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

#36 in #trading

Download history 2/week @ 2024-02-19 18/week @ 2024-02-26 14/week @ 2024-03-11 127/week @ 2024-03-25 31/week @ 2024-04-01

159 downloads per month

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

~19–36MB
~585K SLoC