Metadata-Version: 2.4
Name: riskbypass
Version: 0.1.0
Summary: Python SDK for the RiskByPass task API
License: MIT
Project-URL: Homepage, https://riskbypass.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.20
Dynamic: license-file

# riskbypass

Python SDK for the [RiskByPass](https://riskbypass.com) task API.

## Install

```bash
pip install riskbypass
```

## Quick Start

```python
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 |
