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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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