little KTC API client
Project description
KTC API
Install
pip install ktc-api
Usage
Sync
from ktc_api import KTCClient
client = KTCClient()
print(client.actual_version())
Async
from asyncio import new_event_loop
from ktc_api.aio import AKTCClient
async def main():
client = AKTCClient()
print(await client.actual_version())
await client.close()
if __name__ == '__main__':
loop = new_event_loop()
loop.run_until_complete(main())
loop.close()
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
KTC_API-1.1.0.tar.gz
(3.7 kB
view details)
File details
Details for the file KTC_API-1.1.0.tar.gz.
File metadata
- Download URL: KTC_API-1.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7204e6736e0975bea5a499e727fa74cee87ecdf3eb7242326851f7f058e892ca
|
|
| MD5 |
2efd989a96b57cb5b7a2b5262bbcc9f7
|
|
| BLAKE2b-256 |
0b4a964d15da234167371e87c36c8dc612013f2935846c0dadc22155e65f9842
|