Skip to main content

Mobio license SDK

Project description

Thư viện license Mobio

Cài đặt:

 $ pip3 install mobio-license-sdk

Sử dụng:

1. Khởi tạo sdk:
 from mobio.sdks.license import MobioLicenseSDK

 MobioLicenseSDK().config(
     admin_host="",	# admin host
     redis_uri="",	# redis uri
     module_use="",	# liên hệ admin để khai báo tên của module
     module_encrypt="",	# liên hệ admin để lấy mã
     license_key="", # key salt
 )
 
2. Lấy thông tin license:
 from mobio.sdks.license import MobioLicenseSDK
 result = MobioLicenseSDK().get_json_license(
     merchant_id,
 )
 """
 {
   ...   # license info
   
 }
 """

Log - 1.0.1

- tạo sdk 

Log - 1.0.2

- init export class SDK 

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

mobio-license-sdk-1.0.2.tar.gz (12.5 kB view hashes)

Uploaded Source

Built Distribution

mobio_license_sdk-1.0.2-py3-none-any.whl (12.5 kB view hashes)

Uploaded Python 3

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