Skip to main content

Unofficial SPB API Wrapper

Project description

Welcome to the unofficial intellivoid-spam-protection wiki!

This library handles All Requests done to https://api.intellivoid.net/spamprotection/v1/lookup. To understand how this is meant to be used, please see read the following Documentation

Getting Started

  • Installing the library:

    pip install Intellivoid-SPB

  • For those who wants to try out Development Builds:

    pip install git+https://github.com/OpenRestfulAPI/intellivoid-spam-protection@dev

Usage

from spamprotection import SPBClient
import asyncio

client = SPBClient()

async def main():
    user = input("Enter a Username or UserID to check Spam Prediction on SPB: ")
    status = await client.check_blacklist(user)
    if status.success:
        print(status.private_telegram_id)
    else:
        print("Polish Cow did not Approve this!")

if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main())
    loop.close()

Examples

All Examples are in Examples Directory

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

Intellivoid SPB-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

Intellivoid_SPB-0.1.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file Intellivoid SPB-0.1.0.tar.gz.

File metadata

  • Download URL: Intellivoid SPB-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.20.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3

File hashes

Hashes for Intellivoid SPB-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1d87a45b18830accf8234ce3904d57246ae766dc6797bb8c5fabed5267a4972d
MD5 6d353587d824ab89d5b5e5aa2aaac84e
BLAKE2b-256 a9b4308e30eb030b48592582097deaa204aca8ddd0b5cdbefd7119a7e8c28680

See more details on using hashes here.

File details

Details for the file Intellivoid_SPB-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: Intellivoid_SPB-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.20.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3

File hashes

Hashes for Intellivoid_SPB-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d503d11018407e57632eaefdaae13ceedd701447b1232639863e83cc732cd396
MD5 cb4684de8cd01c312ad4c703054e4360
BLAKE2b-256 e04698bff1c15bdf92cc6ee0d786fc19287db96a1832b191b9c21d36c8acaf6f

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