FaucetPy-0.2.1
توضیحات
FaucetPay + Python = FaucetPy
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | FaucetPy-0.2.1 |
| نام | FaucetPy |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | HanzHaxors |
| ایمیل نویسنده | hanzhaxors@gmail.com |
| آدرس صفحه اصلی | https://github.com/HanzHaxors/FaucetPy |
| آدرس اینترنتی | https://pypi.org/project/FaucetPy/ |
| مجوز | BSD 2-clause |
# FaucetPy
FaucetPay + Python = FaucetPy
# Installation
`pip3 install FaucetPy`
# Usage
```python
>>> from FaucetPy import Api
>>> myApi = Api("5f5f8031xxxxxxxxxxxxxxd6668b2249692ade5e")
>>> myApi.get_balance()
{'status': 200, 'message': 'OK', 'currency': 'BTC', 'balance': '0', 'balance_bitcoin': '0.00000000'}
>>> myApi.listFaucets()
{'status': 404, 'message': 'Invalid API method accessed.'}
>>> myApi.payouts()
{'status': 200, 'message': 'OK', 'rewards': []}
>>> myApi.my_payouts()
{'status': 200, 'message': 'OK', 'rewards': []}
```
# Endpoints and Its Aliases
`balance`: `checkBalance`, `myBalance`, `balance`, `getBalance`,
`check_balance`, `my_balance`, `get_balance`<br/><br/>
`currencies`: `supportedCurrencies`, `currencies`, `availableCurrencies`,
`supported_currencies`, `available_currencies`<br/><br/>
`checkaddress`: `checkAddress`, `checkaddress`, `isaddressexist`,
`check_address`, `is_address_exist`<br/><br/>
`send`: `send`, `sendTo`, `transfer`, `makeTx`,<br/><br/>
`send_to`, `make_tx`, `sendto`, `maketx`<br/><br/>
`payouts`: `payouts`, `myPayouts`, `my_payouts` <br/><br/>
`faucetlist`: `listFaucets`, `fetchRotator`,
`list_faucets`, `fetch_rotator`<br/><br/>
نیازمندی
| مقدار | نام |
|---|---|
| ==2.25.1 | requests |
نحوه نصب
نصب پکیج whl FaucetPy-0.2.1:
pip install FaucetPy-0.2.1.whl
نصب پکیج tar.gz FaucetPy-0.2.1:
pip install FaucetPy-0.2.1.tar.gz