Skip to content

Public

SteamPublicMixin have methods that doesn't require authentication.

Get market listings

from aiosteampy import SteamPublicClient, Game

client = SteamPublicClient(...)

listings, total_count = await client.get_item_listings("โ˜… Butterfly Knife | Slaughter (Minimal Wear)", 730)

Get user inventory

from aiosteampy import SteamPublicClient, Game

client = SteamPublicClient(...)

inv = await client.get_user_inventory(1234567890, Game.CSGO)

Item order histogram & order activity

To do this You need an item_name_id value of item type. Placed in html response <script> section of market item url like https://steamcommunity.com/market/listings/730/Revolution%20Case. Or You can find some in my repo somespecialone/steam-item-name-ids

from aiosteampy import SteamPublicClient

client = SteamPublicClient(...)

item_name_id = 12346789

histogram = await client.fetch_item_orders_histogram(item_name_id)
activity = await client.fetch_item_orders_activity(item_name_id)