semvec/pypi-packages huggingface dataset:
BeosinKYT 0.1.15
A BeosinKYT API python client. The tool helps businesses comply with cryptocurrency regulations and prevent financial crimes using a comprehensive database and risk identification engine.
Requires Python: >=3.7

# BeosinKYT

A python client for [BeosinKYT API](https://beosinofficials-organization.gitbook.io/kyt-api-documentation/)

## Installation

```bash
pip3 install BeosinKYT
```

## Usage

```python
from beosinkyt import BeosinKYT
from beosinkyt.data import platforms, currency
from beosinkyt.errors import NO_ERROR

# Create a BeosinKYT object
api = BeosinKYT(app_id="your app id", app_secret="your app secret")
# Call api
address = "0x39cc5c33e49c6583f4ac321562236227b8641311"
detail, code, msg = api.get_addr_detail(
    platform=platforms.ETH,
    currency=currency.ETH,
    address=address,
)
# Error handling
if code == NO_ERROR:
    print(detail)
else:
    print(code, msg)
```