This library implements Steam's protocol to allow automation of different actions on Steam without running an actual Steam client. It is based on SteamKit2, a .NET library.
In addition, it contains APIs to Steam Community features, like trade offers and inventories.
Some of the currently implemented features:
If this is useful to you, there's also the go-steamapi package that wraps some of the official Steam Web API's types.
go get github.com/Philipp15b/go-steam
You can view the documentation with the godoc
tool or
online on godoc.org.
You should also take a look at the following sub-packages:
gsbot
utilites that make writing bots easiertrade
for tradingtradeoffer
for trade offerseconomy/inventory
for inventoriestf2
for Team Fortress 2 related thingsWhether you want to develop your own Steam bot or directly work on go-steam itself, there are are few things to know.
trade
and tradeoffer
packages have been affected in the past.Go source code is generated with code in the generator
directory.
Look at generator/README.md
for more information on how to use the generator.
Then, after generating new Go source files, update go-steam
as necessary.
Steam for Go is licensed under the New BSD License. More information can be found in LICENSE.txt.