Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 778 Bytes

README.rst

File metadata and controls

39 lines (30 loc) · 778 Bytes

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