FaucetPay + Python = FaucetPy
Project description
FaucetPy
FaucetPay + Python = FaucetPy
Installation
pip3 install FaucetPy
Usage
>>> 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
currencies: supportedCurrencies, currencies, availableCurrencies,
supported_currencies, available_currencies
checkaddress: checkAddress, checkaddress, isaddressexist,
check_address, is_address_exist
send: send, sendTo, transfer, makeTx,
send_to, make_tx, sendto, maketx
payouts: payouts, myPayouts, my_payouts
faucetlist: listFaucets, fetchRotator,
list_faucets, fetch_rotator
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file FaucetPy-0.2.1.tar.gz.
File metadata
- Download URL: FaucetPy-0.2.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce2ae39f89e57098d469e85bc316945fe49ccb18d20c331024435226e151e605
|
|
| MD5 |
82d262d28e308c3aaf8167e23972e0fd
|
|
| BLAKE2b-256 |
0b7ff8eee8a0e2724cf97bb084fe97cb77d782d34b95f1fb56e04da0375bb21a
|
File details
Details for the file FaucetPy-0.2.1-py3-none-any.whl.
File metadata
- Download URL: FaucetPy-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2f66aedfcac9689b0081a2c9449bbc15e5b3c4da1e0068111b9346fd0d0d730
|
|
| MD5 |
73b44c3ae30d5f51d49a6db79e0d7bbd
|
|
| BLAKE2b-256 |
772e6025168452d014ac0386a1a20ca26f56e2802490546ed53d60e18eeaf85d
|