Metadata-Version: 2.4
Name: license-api-py
Version: 0.1.4
Summary: License API connector for Python
Author-email: Nazar <je3nsoff@icloud.com>
License-File: LICENSE
Requires-Python: >=3.13
Requires-Dist: httpx>=0.28.1
Requires-Dist: pydantic>=2.11.7
Description-Content-Type: text/markdown

# license-api-py

License API client library made with Python

## Installation

```
pip install license-api-py
```

## Code example

```py
import asyncio
from license_api_py import LicenseAPI

api = LicenseAPI("http://localhost:3000")

user = {
    "key": "your-license-key",
    "hwid": "your-hwid"
}

async def main():
    if (await api.login(user)):
        print("Logged in successfully!")
    else:
        print("Failed to login.")

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