Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hanzceo/faucetpy
FaucetPay + Python = FaucetPy
https://github.com/hanzceo/faucetpy
api faucetpay faucetpay-python microwallet
Last synced: about 1 month ago
JSON representation
FaucetPay + Python = FaucetPy
- Host: GitHub
- URL: https://github.com/hanzceo/faucetpy
- Owner: HanzCEO
- License: bsd-2-clause
- Created: 2021-02-01T10:22:17.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-19T01:46:37.000Z (almost 4 years ago)
- Last Synced: 2024-10-05T10:04:08.716Z (3 months ago)
- Topics: api, faucetpay, faucetpay-python, microwallet
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`
`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`