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.6.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for aio_spamwatch-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db0a29d5a72da1fcc012d363a266d91d990b6422eb259dc6a023481a27021a61 |
|
MD5 | 2b81a8e3df415345a2a118b7799e3bdc |
|
BLAKE2b-256 | a1375be9c0ca0bb255c7f56314cc24133780de11fc19d8842ef6c3be8586419d |