cryptounifier-1.0.3
توضیحات
CryptoUnifier API Python Integration.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cryptounifier-1.0.3 |
| نام | cryptounifier |
| نسخه کتابخانه | 1.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | https://cryptounifier.io/ |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/cryptounifier/python-sdk |
| آدرس اینترنتی | https://pypi.org/project/cryptounifier/ |
| مجوز | MIT License |
# CryptoUnifier Python SDK
A simple Python SDK for interacting with [Crypto Unifier](https://cryptounifier.io) API V1.
## Installation
You can install the package via pip:
```bash
pip require cryptounifier
```
## Usage
### Using the Wallet API client
You can use the `WalletAPI` class for convenient access to API methods. Some are defined in the code:
```py
from cryptounifier import MerchantAPI
client = WalletAPI("WALLET_KEY", "SECRET_KEY", "btc")
balance = client.getBalance()
print(balance)
depositAddresses = client.getDepositAddresses()
print(depositAddresses)
```
### Using the Merchant API client
You can use the `MerchantAPI` class for convenient access to API methods. Some are defined in the code:
```py
from cryptounifier import MerchantAPI
client = MerchantAPI("MERCHANT_KEY", "SECRET_KEY")
invoice = client.createInvoice(["btc", "bch", "eth"])
print(invoice)
```
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl cryptounifier-1.0.3:
pip install cryptounifier-1.0.3.whl
نصب پکیج tar.gz cryptounifier-1.0.3:
pip install cryptounifier-1.0.3.tar.gz