Metadata-Version: 2.1
Name: bufflogin
Version: 0.0.3
Summary: Authorization to buff.163.com through Steam
Home-page: https://github.com/sometastycake/bufflogin
Author: Mike M
Author-email: stopthisworldplease@outlook.com
License: MIT
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: lxml (>=4.9.1)
Requires-Dist: pysteamauth (>=0.0.8)
Requires-Dist: cssselect (>=1.1.0)

# Authorization to buff.163.com through Steam

[![pypi: package](https://img.shields.io/badge/pypi-0.0.3-blue)](https://pypi.org/project/bufflogin/)
[![Imports: isort](https://img.shields.io/badge/imports-isort-success)](https://pycqa.github.io/isort/)
[![Linter: flake8](https://img.shields.io/badge/linter-flake8-success)](https://github.com/PyCQA/flake8)
[![Mypy: checked](https://img.shields.io/badge/mypy-checked-success)](https://github.com/python/mypy)
[![Python: versions](
https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue)]()

Steam account must be registered on the buff.163.com

# Install

```bash
pip install bufflogin
```

# Usage

```python
import asyncio

from bufflogin import Buff
from pysteamauth.auth import Steam


async def main():
    steam = Steam(
        login='login',
        password='password',
        steamid=76561111111111111,
    )
    buff = Buff(steam)
    await buff.login_to_buff()
    await buff.request('https://buff.163.com/api/market/goods/bill_order?game=csgo&goods_id=200')


if __name__ == '__main__':
    asyncio.run(main())
```
