Python-sdk-ewallet is a Python SDK for OpenAPI of LianLian Global e-wallet program.
Use the package manager pip to install python-sdk-ewallet.
pip install python-sdk-ewallet
import ewallet
private_key = 'XXX'
ewallet.set_config(default_host=ewallet.TEST_HOST, private_key=private_key)
auth = ewallet.Auth('8ZCZo2rqOb2swvSzTlc7v472G', 'czCAB1FftSbNfLnP1jTOYkmg1RtDfecR')
data, code = ewallet.get_balances(auth)
if code == 200:
print(data)
else:
print(code, data)
For more operation, please refer to the SDK User Guide.
py test_ewallet.py
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
If you have any questions while using the SDK, please feel free to contact us.