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.

Source Distribution

PySteamWeb-1.2.2.tar.gz (13.0 kB view details)

Uploaded Source

File details

Details for the file PySteamWeb-1.2.2.tar.gz.

File metadata

  • Download URL: PySteamWeb-1.2.2.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PySteamWeb-1.2.2.tar.gz
Algorithm Hash digest
SHA256 57824cafdeeede1bef2c2db4e192722f0a2aeb5b341d1ddb47888813c90f1695
MD5 217aca106c0041bacba16fc5d6f4b9e7
BLAKE2b-256 4c6f76e544dc124c87dd2bf5ec83a33d3668c67ca7179ca2596ce73fcdeb7da9

See more details on using hashes here.

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