Asynchronous Python wrapper for the Steam Web API
Project description
Installation
Package is available on PyPi, you could install it with:
pip install steamy-py
or
uv add steamy-py
Authorization
Most methods require an API key, which can be obtained at https://steamcommunity.com/dev/apikey
Some APIs work with access tokens, if you have one you can provide it here, and it will be preferred over the webapi key.
Here's how to get a store token:
- Open https://store.steampowered.com/pointssummary/ajaxgetasyncconfig
- Copy the value of webapi_token or simply paste the full JSON in
Here's how to get a community token:
- Open https://steamcommunity.com/my/edit/info
- Run the following script:
JSON.parse(application_config.dataset.loyalty_webapi_token)
Examples
In the examples directory, you can find examples of how to use the package.
Basic example:
async with Steam(api_key="YOUR_API_KEY") as steam:
friends = await steam.player.get_friends_list(steam_id=1234567890)
print(friends)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file steamy_py-1.2.0.tar.gz.
File metadata
- Download URL: steamy_py-1.2.0.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe864865eb83ccb0567fb23b3095812b0bd65b1a65b1ff57034871302043dd96
|
|
| MD5 |
73aa6796bc7c678b5f5c64c49c3959b1
|
|
| BLAKE2b-256 |
5fb629f6c735129f6831b93c5e09fc4867ed2bf66d06006b21eac8281a4de8b6
|
File details
Details for the file steamy_py-1.2.0-py3-none-any.whl.
File metadata
- Download URL: steamy_py-1.2.0-py3-none-any.whl
- Upload date:
- Size: 32.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19db450e0ce50b63f82bc9a2941326aaf0dd0d4e4fda3331cd6bef392105efd8
|
|
| MD5 |
bac78a212d17c2539766cea1632c8ce4
|
|
| BLAKE2b-256 |
ecf46a5948c5cb382e13d2aefe55aa7487b2edbf9d81ab2fb98c3f00663aa68d
|