How steamkit work?

user2559556 picture user2559556 · Aug 1, 2013 · Viewed 7.6k times · Source

Currently, i want to implement a trading system for steam games (with python).

So, i searched github, but sadly, there are only

https://github.com/Jessecar96/SteamBot

https://github.com/Jessecar96/SteamKit2

Yeah, they works good. But they are C# -- don't tell me python can't do this :).

So, i want to start with the steamkit part. I thought it's not difficult(maybe just some web-apis), but when i kinda review the code of SteamKit2, i find it seems use TcpConnection to Steam Network, don't know how they get the protocol.

Does anyone has any idea about this, i think about use python load steamkit2.dll, but im really noob with C#

Answer

Andy picture Andy · Aug 1, 2013

You don't want to use the SteamKit2 port on that repository. It is a branch (and an out dated one at that) of the official SteamKit2 repository. It also looks like they are attempting to get rid of the branch based on this issue discussion.

To answer your question, there is a port of SteamKit to Python. It is called PySteamKit and is written by one of the contributors to SteamKit2.

Unfortunately, there doesn't seem to be much documentation in the Wiki of either the official SteamKit or the Python port on how to use the package. You may have to look at the Samples provided by SteamKit which are in C#.