Skip to main content

SpamRefiner API Wrapper

Project description

SpamRefiner API Python Wrapper

Basic Usage

import spamrefiner
client = spamrefiner.Client("Your Token Here")
user_id = 777000
flag = client.get_flag(user_id)
reason = client.get_flag_reason(user_id)
if flag:
    print(reason)
else:
    print("Not flagged")

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

spamrefiner-0.0.01.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spamrefiner-0.0.01-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file spamrefiner-0.0.01.tar.gz.

File metadata

  • Download URL: spamrefiner-0.0.01.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for spamrefiner-0.0.01.tar.gz
Algorithm Hash digest
SHA256 1c07fe5dedf5f6e39e92831f75f7197c152d478577c0818c84eb9e484524e5d8
MD5 1afb978765705d7e24635ba9d1c03273
BLAKE2b-256 be52cf754aa6ddb8afa7e11039032ec31f2166b3be2ae2e58a3fffe2e56b7eb1

See more details on using hashes here.

File details

Details for the file spamrefiner-0.0.01-py3-none-any.whl.

File metadata

  • Download URL: spamrefiner-0.0.01-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for spamrefiner-0.0.01-py3-none-any.whl
Algorithm Hash digest
SHA256 58504c0153d3342254acdd2d440365fa6182d7a0169719866b427802b05015e0
MD5 dc73e080916d263b3d615be3f4f7afa7
BLAKE2b-256 e2dbfd21d8693b833847a1431cbcc7f65e282c9f3a17dca27ec1735905e1eca7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page