Skip to main content

Python SDK for LianLian Global e-wallet program

Project description

Python-sdk-ewallet

Python-sdk-ewallet is a Python SDK for OpenAPI of LianLian Global e-wallet program.

Installation

Use the package manager pip to install python-sdk-ewallet.

pip install python-sdk-ewallet

Usage

Get Balances

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.

Test

py test_ewallet.py

Contributing

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.

License

MIT

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

python-sdk-ewallet-0.0.2.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_sdk_ewallet-0.0.2-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file python-sdk-ewallet-0.0.2.tar.gz.

File metadata

  • Download URL: python-sdk-ewallet-0.0.2.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for python-sdk-ewallet-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f7b95e27c4dbc9a38bc246705ddc2c48d65d96591f226790332a4ee746a845f6
MD5 441e63e42a98b4ceaab6cf99b8c4f2a4
BLAKE2b-256 b8600973e9c3510b4c864062aef5ec8e9439c55b2a84fff5bd10961647785781

See more details on using hashes here.

File details

Details for the file python_sdk_ewallet-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for python_sdk_ewallet-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dbd0f3ac194bd4a3a8253b010d4943fa81a9b210cdaca62d50102cfb3023cf09
MD5 af779853b058ec99c300f361b56a481e
BLAKE2b-256 a79704bdfa8ffa7020137998a80f2f842a823704114e8d262ef05a58f4fe80e4

See more details on using hashes here.

Supported by

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