Skip to main content

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:

  1. Open https://store.steampowered.com/pointssummary/ajaxgetasyncconfig
  2. Copy the value of webapi_token or simply paste the full JSON in

Here's how to get a community token:

  1. Open https://steamcommunity.com/my/edit/info
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

steamy_py-1.2.0.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

steamy_py-1.2.0-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

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

Hashes for steamy_py-1.2.0.tar.gz
Algorithm Hash digest
SHA256 fe864865eb83ccb0567fb23b3095812b0bd65b1a65b1ff57034871302043dd96
MD5 73aa6796bc7c678b5f5c64c49c3959b1
BLAKE2b-256 5fb629f6c735129f6831b93c5e09fc4867ed2bf66d06006b21eac8281a4de8b6

See more details on using hashes here.

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

Hashes for steamy_py-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 19db450e0ce50b63f82bc9a2941326aaf0dd0d4e4fda3331cd6bef392105efd8
MD5 bac78a212d17c2539766cea1632c8ce4
BLAKE2b-256 ecf46a5948c5cb382e13d2aefe55aa7487b2edbf9d81ab2fb98c3f00663aa68d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page