An asynchronous Python wrapper for the SpamWatch API.
Project description
aio-spamwatch
An asynchronous Python wrapper for the SpamWatch API.
Installation
pip install aio-spamwatch
Usage
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())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aio_spamwatch-0.0.5.tar.gz
(6.4 kB
view details)
Built Distribution
File details
Details for the file aio_spamwatch-0.0.5.tar.gz
.
File metadata
- Download URL: aio_spamwatch-0.0.5.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.10.9 Linux/5.15.102-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0af8a00a19a2b25152f1192db364c8e0923ac2ec362762c8a7e3b6c9fc172cf1 |
|
MD5 | cec32add1db596650fb489f48432b084 |
|
BLAKE2b-256 | 555f307c4102b798650cc39493676016c4df90c25ad8021eb6be545e9573adef |
File details
Details for the file aio_spamwatch-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: aio_spamwatch-0.0.5-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.10.9 Linux/5.15.102-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e8ef280d4d0e16bb2df1c25646a19c274fe1e9ca1972708281f03a4ed9e374a |
|
MD5 | 7e78c1b474338ef1abe82d580b0fb0c4 |
|
BLAKE2b-256 | 4352f0e5e558fe20e2474e4b05df5dfc62cc954f3fce25f78a42b436b92ebe43 |