Skip to content

ahmetmutlugun/steam_pyp

Repository files navigation

Codacy Badge Snyk Vulnerabilities for GitHub Repo Lines of code GitHub issues GitHub GitHub Repo stars GitHub commit activity

steam_pyp

Steam Pyp (Pipe) is a Steam API wrapper for Python.


Installation

When the package is published, it will be installed with something like:

pip install steam_pyp


Steam

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.

Initialization

from steam_pyp.steam import Steam

steam = Steam(key="STEAM API KEY", return_format="json")

Functions

  • 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

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.

Usage

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)

Methods

  • set_user_data
  • _set_user_summary
  • _set_bans
  • _set_csgo_stats

About

Steam API wrapper for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages