All Projects → Gobot1234 → steam.py

Gobot1234 / steam.py

Licence: MIT license
An async python wrapper to interact with the Steam API and its CMs

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to steam.py

Steamworks.Net-MonoGame-Integration
This repo is for everyone who is about to integrate the Steamworks.Net.dll into a MonoGame project. It shows some Steamworks.Net features and how easy it is to integrate it into a MonoGame project.
Stars: ✭ 30 (-59.46%)
Mutual labels:  steam, steamworks, steam-api
CreamInstaller
Automatically finds all installed Steam, Epic and Ubisoft games with their respective DLC-related DLL locations on the user's computer, parses SteamCMD, Steam Store and Epic Games Store for user-selected games' DLCs, then provides a very simple graphical interface utilizing the gathered information.
Stars: ✭ 274 (+270.27%)
Mutual labels:  steam, steamworks, steam-api
idle master extended
🃏 Get your Steam Trading Cards the Fast Way (Fast Mode Extension 🚀)
Stars: ✭ 1,771 (+2293.24%)
Mutual labels:  steam, steamworks, steam-api
php-steam-web-api-client
Automatically generated api client for the Steam Web API.
Stars: ✭ 79 (+6.76%)
Mutual labels:  steam, valve, steam-api
Steamcmd Autoupdate Any Gameserver
Windows SteamCMD to autoupdate and install any game server steam cmd settings configurable lots of useful features. This batch script will keep your game servers automaticly updated updating intervals announce the server is shutting down for updates etc all configurable.
Stars: ✭ 77 (+4.05%)
Mutual labels:  steam, valve, steam-api
Archisteamfarm
C# application with primary purpose of idling Steam cards from multiple accounts simultaneously.
Stars: ✭ 7,219 (+9655.41%)
Mutual labels:  steam, valve, steam-api
steamworks
Steamworks API wrapper for Go
Stars: ✭ 26 (-64.86%)
Mutual labels:  steam, steamworks, steam-api
Steamworks
Exposing SteamWorks functions to SourcePawn.
Stars: ✭ 70 (-5.41%)
Mutual labels:  steam, valve, steam-api
Async Gamequery Lib
A high-performance java game query library designed for steam/source based games and others
Stars: ✭ 88 (+18.92%)
Mutual labels:  steam, valve, steam-api
Chat-LoggerPP
Steam Chat Logger
Stars: ✭ 13 (-82.43%)
Mutual labels:  steam, steamworks, steam-api
steam-openid-connect-provider
Steam OpenID Connect Identity Provider (IdP)
Stars: ✭ 40 (-45.95%)
Mutual labels:  steam, steam-api
SteamworksPy
A working Python API system for Valve's Steamworks.
Stars: ✭ 151 (+104.05%)
Mutual labels:  steamworks, steam-api
ChatLogger
ChatLogger is a Steam Tool based on the SteamKit2 library, designed to save your and friends messages! [Metro Theme]
Stars: ✭ 39 (-47.3%)
Mutual labels:  steam, valve
halflife-op4-updated
Half-Life: Opposing Force SDK based on Half-Life Updated, with bug fixes. Check README.md for more information.
Stars: ✭ 57 (-22.97%)
Mutual labels:  steam, valve
steam community market
Get item prices and volumes from the Steam Community Market using Python 3
Stars: ✭ 24 (-67.57%)
Mutual labels:  steam, steam-api
SteamHelper-rs
Interact with Valve's Steam network with this collection of crates.
Stars: ✭ 24 (-67.57%)
Mutual labels:  steam, valve
valve-matchmaking-ip-ranges
Lists of locations & IP addresses of Valve servers
Stars: ✭ 69 (-6.76%)
Mutual labels:  steam, valve
g-steam
steam web api for golang
Stars: ✭ 22 (-70.27%)
Mutual labels:  steam, steam-api
csgo-cli
CS:GO Console shows your user account, stats and latest matches. It also uploads demo sharecodes to csgostats.gg.
Stars: ✭ 31 (-58.11%)
Mutual labels:  steam, steam-api
SteamAuthOOP
OpenID-Login through Steam for your website
Stars: ✭ 32 (-56.76%)
Mutual labels:  steam, steam-api

steam.py

A modern, easy to use, and async ready package to interact with the Steam API. Heavily inspired by discord.py and borrowing functionality from ValvePython/steam.

Supports Version License GitHub issues GitHub stars Discord Documentation Status

Key Features

  • Modern Pythonic API using async/await syntax
  • Command extension to aid with bot creation
  • Easy to use with an object-oriented design
  • Fully typed hinted for faster development

Installation

Python 3.7 or higher is required

To install the library just run either of the following commands:

# Linux/macOS
python3 -m pip install -U steamio
# Windows
py -m pip install -U steamio

Or for the development version.

# Linux/macOS
python3 -m pip install -U "steamio @ git+https://github.com/Gobot1234/steam.py@main"
# Windows
py -m pip install -U "steamio @ git+https://github.com/Gobot1234/steam.py@main"

Quick Example

import steam


class MyClient(steam.Client):
    async def on_ready(self) -> None:
        print("Logged in as", self.user)

    async def on_trade_receive(self, trade: steam.TradeOffer) -> None:
        await trade.partner.send("Thank you for your trade")
        print(f"Received trade: #{trade.id}")
        print("Trade partner is:", trade.partner)
        print("We would send:", len(trade.items_to_send), "items")
        print("We would receive:", len(trade.items_to_receive), "items")

        if trade.is_gift():
            print("Accepting the trade as it is a gift")
            await trade.accept()


client = MyClient()
client.run("username", "password")

Bot Example

from steam.ext import commands

bot = commands.Bot(command_prefix="!")


@bot.command
async def ping(ctx: commands.Context) -> None:
    await ctx.send("Pong!")


bot.run("username", "password")

Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].