<h1 style="text-align: center">aio-spamwatch</h1>
<div style="text-align:center;">
<a href="https://pypi.org/project/aio-spamwatch/" target="_blank">
<img src="https://img.shields.io/pypi/v/aio-spamwatch.svg" alt="PyPI version">
</a>
<a href="https://github.com/NachABR/aio-spamwatch/blob/master/LICENSE" target="_blank">
<img src="https://img.shields.io/github/license/NachABR/aio-spamwatch.svg" alt="License">
</a>
<a href="https://github.com/psf/black" target="_blank">
<img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code style: black">
</a>
</div>
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())
```
Raw data
{
"_id": null,
"home_page": "https://github.com/NachABR/aio-spamwatch",
"name": "aio-spamwatch",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "",
"keywords": "spamwatch,asynchronous,aiohttp,telegram",
"author": "NachABR",
"author_email": "nachabr@protonmail.com",
"download_url": "https://files.pythonhosted.org/packages/9f/42/7b8d7a8477b249b44323357301af77635fe45c4a3e6529afdad9316df07b/aio_spamwatch-0.0.7.tar.gz",
"platform": null,
"description": "<h1 style=\"text-align: center\">aio-spamwatch</h1>\n\n<div style=\"text-align:center;\">\n <a href=\"https://pypi.org/project/aio-spamwatch/\" target=\"_blank\">\n <img src=\"https://img.shields.io/pypi/v/aio-spamwatch.svg\" alt=\"PyPI version\">\n </a>\n <a href=\"https://github.com/NachABR/aio-spamwatch/blob/master/LICENSE\" target=\"_blank\">\n <img src=\"https://img.shields.io/github/license/NachABR/aio-spamwatch.svg\" alt=\"License\">\n </a>\n <a href=\"https://github.com/psf/black\" target=\"_blank\">\n <img src=\"https://img.shields.io/badge/code%20style-black-000000.svg\" alt=\"Code style: black\">\n </a>\n</div>\n\n\nAn asynchronous Python wrapper for the [SpamWatch API](https://spamwat.ch/).\n\n## Installation\n\n```bash\npip install aio-spamwatch\n```\n\n## Usage\n```python\nimport asyncio\nfrom aio_spamwatch import SpamwatchAPI\n\nclient = SpamwatchAPI(token=\"TOKEN_HERE\")\n\n\nasync def main():\n # import aiohttp\n # client = SpamwatchAPI(token=\"TOKEN_HERE\", session=aiohttp.ClientSession())\n version = await client.version()\n print(version)\n\n\nasyncio.run(main())\n```\n\n\n\n",
"bugtrack_url": null,
"license": "LGPLv3",
"summary": "An asynchronous Python wrapper for the SpamWatch API.",
"version": "0.0.7",
"split_keywords": [
"spamwatch",
"asynchronous",
"aiohttp",
"telegram"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "524261257cf6d0ebdbadb030855f342380da84a724db70fb49e9df651b382e50",
"md5": "bb023744def94076dede8fdb901d9afa",
"sha256": "d89fcef8f2874dc814a40dcd518103fae2a07fc4c4f5edd3f637eca101caa784"
},
"downloads": -1,
"filename": "aio_spamwatch-0.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bb023744def94076dede8fdb901d9afa",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 7384,
"upload_time": "2023-04-23T16:38:04",
"upload_time_iso_8601": "2023-04-23T16:38:04.247468Z",
"url": "https://files.pythonhosted.org/packages/52/42/61257cf6d0ebdbadb030855f342380da84a724db70fb49e9df651b382e50/aio_spamwatch-0.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9f427b8d7a8477b249b44323357301af77635fe45c4a3e6529afdad9316df07b",
"md5": "a9db88b33788a324468a78a4d5a4e4fb",
"sha256": "ff5a523dfb7e60b6ea138b8d0402518345acf1d0316c83b80eaf92caf3b4776c"
},
"downloads": -1,
"filename": "aio_spamwatch-0.0.7.tar.gz",
"has_sig": false,
"md5_digest": "a9db88b33788a324468a78a4d5a4e4fb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 6134,
"upload_time": "2023-04-23T16:38:05",
"upload_time_iso_8601": "2023-04-23T16:38:05.678963Z",
"url": "https://files.pythonhosted.org/packages/9f/42/7b8d7a8477b249b44323357301af77635fe45c4a3e6529afdad9316df07b/aio_spamwatch-0.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-23 16:38:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "NachABR",
"github_project": "aio-spamwatch",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "aio-spamwatch"
}