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.7.tar.gz
(6.1 kB
view details)
Built Distribution
File details
Details for the file aio_spamwatch-0.0.7.tar.gz
.
File metadata
- Download URL: aio_spamwatch-0.0.7.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff5a523dfb7e60b6ea138b8d0402518345acf1d0316c83b80eaf92caf3b4776c |
|
MD5 | a9db88b33788a324468a78a4d5a4e4fb |
|
BLAKE2b-256 | 9f427b8d7a8477b249b44323357301af77635fe45c4a3e6529afdad9316df07b |
File details
Details for the file aio_spamwatch-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: aio_spamwatch-0.0.7-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d89fcef8f2874dc814a40dcd518103fae2a07fc4c4f5edd3f637eca101caa784 |
|
MD5 | bb023744def94076dede8fdb901d9afa |
|
BLAKE2b-256 | 524261257cf6d0ebdbadb030855f342380da84a724db70fb49e9df651b382e50 |