Metadata-Version: 2.1
Name: aio-spamwatch
Version: 0.0.5
Summary: An asynchronous Python wrapper for the SpamWatch API.
License: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Author: NachABR
Author-email: nachabr@protonmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: aiohttp (>=3.7)
Description-Content-Type: text/markdown

<h1 assign="center">aio-spamwatch<h1>

[![PyPI version](https://img.shields.io/pypi/v/aio-spamwatch.svg)](https://pypi.org/project/aio-spamwatch/)
[![License](https://img.shields.io/github/license/NachABR/aio-spamwatch.svg)](https://github.com/NachABR/aio-spamwatch/blob/master/LICENSE)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

An asynchronous Python wrapper for the [SpamWatch API](https://spamwat.ch/).

## Installation

```bash
pip install aio-spamwatch
```

## Usage
```python
import asyncio
from aio_spamwatch import SpamwatchAPI

client = SpamwatchAPI(token="TOKEN_HERE")


async def main():
    # import aiohttp
    # client = SpamwatchAPI(token="TOKEN_HERE", session=aiohttp.ClientSession())
    version = await client.version()
    print(version)


asyncio.run(main())
```



