Skip to main content

FaucetPay + Python = FaucetPy

Project description


FaucetPay + Python = FaucetPy


pip3 install FaucetPy


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

FaucetPy-0.2.1.tar.gz (3.0 kB view hashes)

Uploaded source

Built Distribution

FaucetPy-0.2.1-py3-none-any.whl (4.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page