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 git+https://github.com/OpenRestfulAPI/intellivoid-spam-protection
-
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.0.5.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file Intellivoid SPB-0.0.5.tar.gz
.
File metadata
- Download URL: Intellivoid SPB-0.0.5.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2c6172ba374cfca9e2904e8786fa847ca398378e1a5ed5a31348a232f6ddf30 |
|
MD5 | 111c881913b7d74c6521ae2de62d1905 |
|
BLAKE2b-256 | 8ec54fe46bac373d47bc210a735cbe5cd072598b0ab4c295c7174ba1353e8807 |
File details
Details for the file Intellivoid_SPB-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: Intellivoid_SPB-0.0.5-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.24.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884b1ca65cfe5493a893e94dad6d48023f4dd8dfa3ac8cf97c0d0087a56f8072 |
|
MD5 | 25ecde3dd85d7bf867bc16f0dcddc82d |
|
BLAKE2b-256 | 6355cbf6048f39546f83705e9d97c99d360ceeed20892233ff25c1f87cfad0f6 |