Skip to main content

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


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)

Uploaded Source

Built Distribution

aio_spamwatch-0.0.7-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

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

Hashes for aio_spamwatch-0.0.7.tar.gz
Algorithm Hash digest
SHA256 ff5a523dfb7e60b6ea138b8d0402518345acf1d0316c83b80eaf92caf3b4776c
MD5 a9db88b33788a324468a78a4d5a4e4fb
BLAKE2b-256 9f427b8d7a8477b249b44323357301af77635fe45c4a3e6529afdad9316df07b

See more details on using hashes here.

File details

Details for the file aio_spamwatch-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for aio_spamwatch-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d89fcef8f2874dc814a40dcd518103fae2a07fc4c4f5edd3f637eca101caa784
MD5 bb023744def94076dede8fdb901d9afa
BLAKE2b-256 524261257cf6d0ebdbadb030855f342380da84a724db70fb49e9df651b382e50

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page