Intro
Steamfront is a basic interface for working with Steam and Steampowered through Python. It should be pretty simple to use, and if there’s anything badly documented here, everything is available on Github for you to look through.
Installation:
pip install steamfront
Getting Started
There’s quite basic usage. For most things you don’t need an API key, but for others you may need to get one.
First you need to make a Client object.
>>> import steamfront
>>> client = steamfront.Client()
From there, you can get information on a game (through either name or ID), or list the games that a user has, through several methods each.
Games:
>>> client = steamfront.Client()
>>> game = client.getApp(appid='530620')
>>> game.name
'Resident Evil 7 / Biohazard 7 Teaser: Beginning Hour'
>>> game.required_age
'18'
>>> game = client.getApp(name='Undertale')
>>> game.appid
'391540'
Users:
>>> client = steamfront.Client(API_KEY)
>>> user = client.getUser(id64='76561198054243905')
>>> user.name
'Kaylum-'
>>> user.status
'Online'
>>> apps = user.apps
>>> len(apps)
137
>>> rand = apps[44]
>>> rand.play_time
409
Most code is fully internally documented, so it will autofill and properly interface with Python’s help function.
API Reference
Metadata
Release files for steamfront 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| steamfront-0.1.00.tar.gz | 6.8 kB | Without provenance | Details for steamfront-0.1.00.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| steamfront-0.1.00-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for steamfront-0.1.00-py2.py3-none-any.whl |
Total release size: 21.1 kB
Release files / steamfront-0.1.00.tar.gz
| Download URL | steamfront-0.1.00.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58323d63a49033f7fc6877b6d7d89e2208c0c305083b218cf54283051ccc4725
|
|
BLAKE2b-256 checksum How to use checksums |
fcd2a89e460c2e5f88c0c27db6d8b0a23fd541b9cac704c23ef45dc55113367c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / steamfront-0.1.00-py2.py3-none-any.whl
| Download URL | steamfront-0.1.00-py2.py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5d003dbc3d299c39c5066009d91631c2a3486a2d4b1097ecc8011ab84c75df52
|
|
BLAKE2b-256 checksum How to use checksums |
61f446195e5d8c9ed2b698447bc88231c20220e7c136b8de98369275b948fc23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for steamfront 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.