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 details)
Built Distribution
File details
Details for the file virtualcrypto-0.1.3.tar.gz
.
File metadata
- Download URL: virtualcrypto-0.1.3.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7124c996f294fa6937a5c54030a7642e32bf440e1b10c0351449ad83a0b0d50 |
|
MD5 | 3fcb31eb5dc248bd43ca2375202ff870 |
|
BLAKE2b-256 | fd75567279728617c362afc268de1806f9c19df62314fc2ce97af707c8e2253c |
File details
Details for the file virtualcrypto-0.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: virtualcrypto-0.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13dc854346319c91c72865933f0a24e2957957b2e5f7950c0679270301501d8d |
|
MD5 | 979dbf8dcdbc4ab849e68bb03b352564 |
|
BLAKE2b-256 | 74ee42b18394aa75516a911fca67d866ac17508e2cc413f1a54fdbf560560c4d |