Author: | levshx |
---|---|
Version: | 0.0.2 |
Types
InventoryAsset = object appid*: int classid*: string instanceid*: string currency*: int icon_url*: string tradable*: int name*: string name_color*: string market_name*: string market_hash_name*: string commodity*: int market_tradable_restriction*: int marketable*: int
- Source Edit
Procs
proc getAssetMarketIconURL(icon_code: string): string {....raises: [], tags: [].}
- Source Edit
proc getAssetMarketPriceOverview(appid: int; vallet: int; market_hash_name: string): MinItem {....raises: [ IOError, OSError, JsonParsingError, ValueError, Exception, HttpRequestError, LibraryError, SslError, TimeoutError, ProtocolError, KeyError, JsonKindError], tags: [ ReadIOEffect, WriteIOEffect, RootEffect, TimeEffect, ReadDirEffect, ReadEnvEffect].}
- Процедура получения минимальной информации стоимости предмета на торговой площадке Steam Source Edit
proc getProfileInventory(steamID64: int64; gameID: int; valueWTF: int): seq[ InventoryAsset] {....raises: [IOError, OSError, JsonParsingError, ValueError, Exception, HttpRequestError, LibraryError, SslError, TimeoutError, ProtocolError, KeyError, JsonKindError], tags: [ReadIOEffect, WriteIOEffect, RootEffect, TimeEffect, ReadDirEffect, ReadEnvEffect].}
- Source Edit