Skip to main content

A small example package

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.py-0.0.2.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

rasb.py-0.0.2-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file rasb.py-0.0.2.tar.gz.

File metadata

  • Download URL: rasb.py-0.0.2.tar.gz
  • Upload date:
  • Size: 1.4 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.py-0.0.2.tar.gz
Algorithm Hash digest
SHA256 92c60b1e8a4d9d78c95acfa5b62352210d156d87fcdeaf38a724535a9c6e6efa
MD5 b4e705e962206039ac46fbf5f429735d
BLAKE2b-256 8ca6a8745b6702955b98dd32555e682370bd97b97c7ecb4b9fd72e6ad72ad603

See more details on using hashes here.

File details

Details for the file rasb.py-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: rasb.py-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.1 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.py-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0be19c07f72675b98c8aaf51469f50fc48f0e36d39901d1790db544f7fc4bd7
MD5 7adf012865376e9c8abf5fb0b6be315b
BLAKE2b-256 0847260730d833f7f699884561a8a2d67c2f3268b4bba622bb0a19ed46aea048

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