Skip to content

somespecialone/aiosteampy

Repository files navigation

AIOSTEAMPY

Made in Ukraine steam license pypi versions Tests Publish Docs codecov CodeFactor black

Previously this library was a soft fork of bukson/steampy and created only to provide asynchronous methods and proxies support. But now it standalone project. Created by myself for steam trading purposes mostly.


Stand With Ukraine

Important

See full documentation here 📖

Installation

pip install aiosteampy
pipenv install aiosteampy
poetry add aiosteampy

Project have extra currencies converter with target dependency aiosteampy[converter]. For instance:

poetry add aiosteampy[converter]

Tip

aiohttp docs recommends installing speedups (aiodns, cchardet, ...)

AIOSTEAMPY use aiohttp underneath to do asynchronous requests to steam servers, with modern async/await syntax.

Generally, project inspired most by DoctorMcKay/node-steamcommunity

Key features

  • Stateless: the main idea was a low-middle layer API wrapper of some steam services and methods like market, tradeoffers, confirmations, steamguard, etc. But if you want to cache your entities data (listings, confirmations, ...) there is some methods to help.
  • Declarative: there is models almost for every data.
  • Typed: for editor support most things are typed.
  • Short: I really tried to fit most important for steam trading methods.

What can I do with this

  • Operate with steam trade offers for any manner.
  • Sell, buy items on market. Place, cancel orders.
  • Login trough steam to 3rd party sites.
  • Fetch data from market.
  • Manipulate many accounts with proxies for each session.
  • Store and load cookies to stay logged in.
  • Convert market prices into different currencies.

What I can't do

  • Chat (at least for now).
  • Get apps, packages.
  • All, that need connection to CM.
  • Interact with game servers (inspect CS2 (ex. CSGO) items, ...).
  • Edit profile, social interaction(groups, clans).
  • Handle entities (listings, items, tradeoffers) lifecycle for easy if you need to store it.

Tests 🧪

Read test documentation 📖

Contribution 💛

There is no rules or requirements to contribute. Feedbacks, suggests, other are welcome. I will be very grateful for helping me get the things right.

Credits