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 hashes)
Built Distribution
Close
Hashes for aio_spamwatch-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d89fcef8f2874dc814a40dcd518103fae2a07fc4c4f5edd3f637eca101caa784 |
|
MD5 | bb023744def94076dede8fdb901d9afa |
|
BLAKE2b-256 | 524261257cf6d0ebdbadb030855f342380da84a724db70fb49e9df651b382e50 |