Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

steamwine-0.0.1-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

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