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

steam-tradeoffer-manager

Makes Steam trade offers easy!

5 releases (3 breaking)

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

#1564 in Web programming

Download history 1/week @ 2024-12-05 3/week @ 2024-12-12 89/week @ 2024-12-19 48/week @ 2024-12-26 2/week @ 2025-01-02 5/week @ 2025-01-09

276 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–35MB
~569K SLoC