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)

# Tls requests
response = client.tls_get(url="xxx", headers={"xx":"xxx"})
print(response.text)

response = client.tls_post(url="xxx", headers={"xx":"xxx"})
print(response.text)

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
tls_get(xxx)/tls_post(xxx) Tls Requests

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.3.4.tar.gz (4.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.3.4-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: riskbypass-0.3.4.tar.gz
  • Upload date:
  • Size: 4.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.3.4.tar.gz
Algorithm Hash digest
SHA256 363625c0134cb39839bc2b029b8d5703e0ac76fbfa993592e310b7132c7dbb4d
MD5 f5ed4042c6be008c57d924923764e96f
BLAKE2b-256 08ef23213eb1b980f1dbf9fbc9c6c5fe886920f8d2f53427b9b4013a89071005

See more details on using hashes here.

File details

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

File metadata

  • Download URL: riskbypass-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 49a886e8b997e3fed9b8598f2e267a5110e4e8a1e67576c338e5b7b6ae3beacb
MD5 5b05a06ea23ef1465f6c76f3572f8460
BLAKE2b-256 28649a05ab917840f4ac9dd8ea3d36de0c56493877430c50afe2c083c9d569b7

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