Skip to main content

RASB Bot API Wrapper

Project description

RASB-Python-API

An API wrapper for the Discord RASB bot / service using Python.

Features

  1. Grab if a user is banned or not.
  2. Get the full RASB ban list.
  3. Grab info about an RASB report.

Code Examples

from rasb.py import RASBClient
Client = RASBClient()

checkBanned = Client.isUserBanned("ID")
print(checkBanned)

-------------------------------------

from rasb.py import RASBClient
Client = RASBClient()

banList = Client.getBans()
print(banList)

-------------------------------------

from rasb.py import RASBClient
Client = RASBClient()

getReport = Client.getReport("report_id")
print(getReport)

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

rasb-0.0.4.tar.gz (1.3 kB view details)

Uploaded Source

Built Distributions

rasb-0.0.5-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

rasb-0.0.4-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file rasb-0.0.4.tar.gz.

File metadata

  • Download URL: rasb-0.0.4.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.0

File hashes

Hashes for rasb-0.0.4.tar.gz
Algorithm Hash digest
SHA256 265bc300434102c2ffef3419b5c8bd7f545af7b8b92d5180fbce033e8a2133ed
MD5 46490b9a5e306217dbbf4e53784af7a6
BLAKE2b-256 4cbfcfd97f42286f996f0632918fd774289bfe2896203b5e30db0d094092dcb5

See more details on using hashes here.

File details

Details for the file rasb-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: rasb-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.0

File hashes

Hashes for rasb-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7d76e81d6e68ee38b7e674eac6f28f88c0a227527f5ad25357a9c9a04a56f8c7
MD5 a8229715de6f51ae010913ade7c47e90
BLAKE2b-256 5bba4b48bd1e2f2962ed48aa74aa99eb0be852663aa3244f2feb118447fcc2cf

See more details on using hashes here.

File details

Details for the file rasb-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: rasb-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.0

File hashes

Hashes for rasb-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2c10c2fa824e024fa59ede92cff0732dcb8edd5d3b42df4b0e7472c2ecde0c18
MD5 04eedf9752860048fa1ffd4f022cfdbd
BLAKE2b-256 c8f3675d5080a4f485c5c94eb61d99940fae1faa4cdb0e583ba746ac39d265ad

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