Steam Pyp (Pipe) is a Steam API wrapper for Python.
When the package is published, it will be installed with something like:
pip install steam_pyp
Steam is the class that holds functions regarding API calls. It can be initialized with the steam key and a return format. Currently, json is the only supported return format.
The Steam class can be used standalone as a low-level api wrapper.
from steam_pyp.steam import Steam
steam = Steam(key="STEAM API KEY", return_format="json")
- set_key
- set_format
- game_servers_status
- news_from_app
- player_ban
- player_summary
- player_friends
- player_achievements
- player_stats
- player_games
- player_recent_games
User is a class to initialize, store and update user data. It is used to gather and store user data without bothering with the Steam API.
from steam_pyp.user import User
from steam_pyp.steam import Steam
steam = Steam(key="STEAM API KEY", return_format="json")
user = User(steam_id="76561198342056792", steam=steam)
- set_user_data
- _set_user_summary
- _set_bans
- _set_csgo_stats