Skip to main content

Python SDK for the RiskByPass task API

Project description

riskbypass

Python SDK for the RiskByPass task API.

Install

pip install riskbypass

Quick Start

from riskbypass import RiskByPassClient

client = RiskByPassClient("your-api-key")

# Check balance
print(client.check_balance())

# Run a task
result = client.run_task({
    "task_type": "kasada",
    "proxy": "http://user:pass@host:port",
    "target_url": "https://example.com/",
    "protected_api_domain": "example.com",
    "kasada_js_domain": "example.com",
})
print(result)

API

RiskByPassClient(token, base_url="https://riskbypass.com")

Method Description
run_task(payload, timeout=180) Submit a task and wait for the result
check_balance() Get current account balance
get_topup_address() Get TRC-20 USDT top-up wallet address

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

riskbypass-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

riskbypass-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file riskbypass-0.1.0.tar.gz.

File metadata

  • Download URL: riskbypass-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.11

File hashes

Hashes for riskbypass-0.1.0.tar.gz
Algorithm Hash digest
SHA256 edcc49a8975c3537581ce98e9e0bcc1d865a833477d568651499dd11dacf6f85
MD5 aa43e344b4cc073ae9ef6c405fa9caf6
BLAKE2b-256 9904e4b7e850e5346a7dacffd6f19de4f1374cf75fc0bb0f2637df848291dc2f

See more details on using hashes here.

File details

Details for the file riskbypass-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: riskbypass-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.11

File hashes

Hashes for riskbypass-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 923840290db9ebf0c1d9d0c6c4d969540bb175c9c79abfaaecedf39e2774b754
MD5 dde32127938aa8fdd0fe8431e9476a6c
BLAKE2b-256 10c6e0882ed5dd0451ba0f5f089f011a42c72e88ae183c52be9c02ffbe7a6425

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