Go to file
ポキ a08367335e Updated to 0.0.4
- an actual README.md
- Example Folder Created
2021-01-02 23:20:54 +05:00
examples added README.md 2021-01-02 23:17:10 +05:00
spamprotection Updated to 0.0.4 2021-01-02 23:20:54 +05:00
.gitattributes Initial commit 2021-01-02 10:08:55 +05:00
.gitignore Initial commit 2021-01-02 10:08:55 +05:00
LICENSE Initial commit 2021-01-02 10:08:55 +05:00
Makefile Updated to 0.0.3 2021-01-02 14:09:20 +05:00
README.md Updated to 0.0.4 2021-01-02 23:20:54 +05:00
TODO Updated to v0.0.2 2021-01-02 13:03:20 +05:00
requirements.txt Updated to 0.0.3 2021-01-02 14:09:20 +05:00
requirements_dev.txt Updated to 0.0.3 2021-01-02 14:09:20 +05:00
setup.cfg Updated to 0.0.3 2021-01-02 14:09:20 +05:00
setup.py Updated to 0.0.3 2021-01-02 14:09:20 +05:00

README.md

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 git+https://github.com/pokurt/intellivoid-spam-protection

  • For those who wants to try out Development Builds:

    pip install git+https://github.com/pokurt/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((await text_parser(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