Quickstart¶
Steam API example¶
-
First a path to steam library file. This library should be provided with your game. Library for various OS (
libsteam_api.soorsteam_api.dllorlibsteam_api.dylib) is distributed with Steam SDK available for Steam partners at https://partner.steamgames.com/downloads/list -
Second. Your need to know application (game) identifier provided by Steam. Pass it as a parameter or put
steam_appid.txtfile with that ID in your game folder.
Note
Sample OpenGL app using steampak is available here: https://github.com/idlesign/steampak/tree/master/demo
Now you're ready to begin. API initialization is easy:
After that you can access various API parts as api object attributes: