import spamwatch
token = 'A_LONG_TOKEN_HERE'
client = spamwatch.Client(token)
ban = client.get_ban(777000)
print(ban.reason)
noodlesoup / spamwatch-py Goto Github PK
View Code? Open in Web Editor NEWThis project forked from spamwatch/spamwatch-py
Python wrapper for the SpamWatch API
License: GNU Lesser General Public License v3.0