Steam Web API Client
A Python client for the Steam Web API.
Valve provides an API endpoint that describes all other endpoints. This is used to automatically generate most of the code for this package.
Installation
This package can be installed with pip:
pip install steamwebapiclient
Usage
from steamwebapiclient import SteamWebClient
client = SteamWebClient(
key="YourApiKey", # Only required if calling non-public API endpoints.
steam_id="SomeSteamId", # Scopes API calls that use this to this ID.
)
domains = client.steamdirectory_getsteampipedomains()
Generating the Base Client Class
To regenerate the base client class from Valve's API definitions, run the following from the root of the project (where this README is located).
python generate_client.py [API_KEY]
The API_KEY argument is optional, but without it, only publicly
accessible methods will be available in the generated client code.
After regenerating the client, its code must be formatted using black.
Making a Release
Install build:
pip install build
License
Metadata
Release files for steamwebapiclient 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 | |
|---|---|---|---|
| steamwebapiclient-0.1.0.tar.gz | 9.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| steamwebapiclient-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.1 kB
Release files / steamwebapiclient-0.1.0.tar.gz
| Download URL | steamwebapiclient-0.1.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6298041d3fedd1984a9bd8a1d7e057c325d42dfd29b338ed533f3d32f3773f92
|
|
BLAKE2b-256 checksum How to use checksums |
42073800c8f67539e392b738d9ef01584d86efc909c0d63b7f9816237cc5288d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / steamwebapiclient-0.1.0-py3-none-any.whl
| Download URL | steamwebapiclient-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e9ced2f87d73a423b12bfa7c7ee6c353a9b05dfbe632659dbe4ca3d1464ff3b
|
|
BLAKE2b-256 checksum How to use checksums |
4b55aaf3660144c2adc31d41e267836c456f6258de959f184d2a42fcee99478e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|