#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

#1521 in Web programming

Download history 3/week @ 2024-09-25 9/week @ 2024-10-02 2/week @ 2024-10-09 1/week @ 2024-12-04 3/week @ 2024-12-11 137/week @ 2024-12-25 7/week @ 2025-01-08

144 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

~18–38MB
~562K SLoC