Skip to main content

python3 steam web login async

Project description

Requirements

  • Python 3.5+
  • pyCrypto
  • aiohttp 1.1.6

Instalation

  • pip3 install pysteamweb

Usage

>>> import asyncio
>>> from pysteamweb import SteamWebBase
>>>
>>> async def main():
>>>     async with SteamWebBase(
>>>         username='<steam login>',
>>>         password='<steam password>',
>>>     ) as s:
>>>         print('logging success')
>>>         print(await s.session.send_session(url='http://steamcommunity.com/profiles/{}/edit'.format(s.steam_id), is_post=False))
>>>
>>>
>>> if __name__ == '__main__':
>>>     loop = asyncio.get_event_loop()
>>>     loop.run_until_complete(main())
>>>     loop.close()

Demos

Look at demo folder

Project details


Download files

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

Files for PySteamWeb, version 1.2.2
Filename, size File type Python version Upload date Hashes
Filename, size PySteamWeb-1.2.2.tar.gz (13.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page