Simple work with API Steam
Project description
steamwine
Example:
import asyncio
from steamwine import Steam
api = Steam("API_KEY")
async def handler():
friends = await api.user.friends(76561198982570889)
for friend in friends.friends_list:
usr = await api.user.get(friend.steam_id)
print(usr.players[0].name)
asyncio.get_event_loop().run_until_complete(handler())
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
steamwine-0.0.1.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file steamwine-0.0.1.tar.gz
.
File metadata
- Download URL: steamwine-0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.7 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7d570280ceb3f8802c4cf79105bf453565e11985a69553c1e4167e4752f45da |
|
MD5 | d77c0d6c2bd370db691114de47a81f37 |
|
BLAKE2b-256 | 0186e9c92c848012a189f88216ee051c4a0180ccb955c5bbb01d5d9f3d344d7d |
File details
Details for the file steamwine-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: steamwine-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.7 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eedbe3d6e30eca2e03b93c1b3dfc76c5155e3c88bdee05bd9604159185db3667 |
|
MD5 | 7d313114c8795270798d4f3ed564c420 |
|
BLAKE2b-256 | 2feead595d4f0e1c855508e9822e809f6b707ac9eef5a6a10886b0d94d4420b2 |