Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.5 KB

File metadata and controls

38 lines (29 loc) · 1.5 KB

VAULT SDK for Python

This open-source library allows you to integrate VAULT into your app. Learn more about about the provided samples, documentation, integrating the SDK into your app, and more at deck slide

FEATURE

INSTALLATION

  • Run command make .venv to install the pipenv environment
  • Run command make test to run the pytest cases

USAGE

With your application CLIENT ID, CLIENT KEY and MINING KEY, create a MithVaultSDK instance and your application can execute VAULT API. For example

CLIENT_ID = 'ba6cabfb4de8d9f4f388124b1afe82b1'
CLIENT_SECRET = 'aefd2b59d780eb29bc95b6cf8f3503233ad702141b20f53c8a645afbb8c6616048c5e9cc741e0ebee1a2469c68364e57e29dbeeabadc0b67958b9c3da7eabab9'
MINING_KEY = 'demo'
AUTHORIZATION = '1668ff50dca1a85086b558e9e5abc521f14f2317712cb7725d8a9b0f670afe04ea61e091f1060e7845e16e55e300995cb79340782ce34ba683ec9e37e856ff95'

sdk = vault.MithVaultSDK(CLIENT_ID, CLIENT_SECRET, MINING_KEY)
activities = sdk.getUserMiningAction(AUTHORIZATION)

GIVE FEEDBACK

Please report bugs or issues to hackathon@mith.io