VirtualCrypto Python SDK
Project description
VirtualCrypto.py
VirtualCrypto Python SDK
Free software: MIT license
Documentation: https://virtualcrypto.readthedocs.io.
Usage
Normal Usage:
from virtualcrypto import VirtualCryptoClient, Scope client = VirtualCryptoClient( client_id="956fcdd2-84ee-4b02-8766-8aec7dd12b05", client_secret="akOu2Wna3SYkVksVgaQWAEDwLmfHW1-ThIS5WQwDCfU", scopes=[Scope.Pay, Scope.Claim] ) print(client.get_currency_by_unit("v")) # Currency(unit='v', guild=754191887203696731, name='vcoin', pool_amount=5000, total_amount=1000000)
For asyncio:
from virtualcrypto import Scope, AsyncVirtualCryptoClient import asyncio client = AsyncVirtualCryptoClient( client_id="956fcdd2-84ee-4b02-8766-8aec7dd12b05", client_secret="akOu2Wna3SYkVksVgaQWAEDwLmfHW1-ThIS5WQwDCfU", scopes=[Scope.Pay, Scope.Claim] ) async def main(): await client.start() print(await client.get_currency_by_unit("v")) await client.close() asyncio.get_event_loop().run_until_complete(main())
Features
TODO
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.0.1 (2021-02-03)
First release on PyPI.
0.1.0 (2021-03-3)
Create VirtualCrypto Client
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
virtualcrypto-0.1.3.tar.gz
(13.1 kB
view hashes)
Built Distribution
Close
Hashes for virtualcrypto-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13dc854346319c91c72865933f0a24e2957957b2e5f7950c0679270301501d8d |
|
MD5 | 979dbf8dcdbc4ab849e68bb03b352564 |
|
BLAKE2b-256 | 74ee42b18394aa75516a911fca67d866ac17508e2cc413f1a54fdbf560560c4d |