Skip to main content

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 hashes)

Uploaded Source

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