Skip to main content

License API connector for Python

Project description

license-api-py

License API client library made with Python

Installation

pip install license-api-py

Code example

import asyncio
from license_api_py import LicenseAPI

api = LicenseAPI("http://localhost:3000")

user = {
    "key": "your-license-key",
    "hwid": "your-hwid"
}

async def main():
    if (await api.login(user)):
        print("Logged in successfully!")
    else:
        print("Failed to login.")

if __name__ == "__main__":
    asyncio.run(main())

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

license_api_py-0.1.4.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

license_api_py-0.1.4-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file license_api_py-0.1.4.tar.gz.

File metadata

  • Download URL: license_api_py-0.1.4.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.15

File hashes

Hashes for license_api_py-0.1.4.tar.gz
Algorithm Hash digest
SHA256 662c299b0e9839de4b2e613194489269e01972ecf847e5d6d116d4e4c925c921
MD5 68da9bf07fa47f982b36aa64ea587d2b
BLAKE2b-256 f445b1126341500fd455845e14808c499c624a7e9a6e2b61a0546c73b7fc93e2

See more details on using hashes here.

File details

Details for the file license_api_py-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for license_api_py-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 27c0f0b8abc829fb45f45fa23fff8f6c5d1e88d5a6b1dbe03c6eb722c9d4afba
MD5 4017bdd27245f308f6b1357f5c8a75a0
BLAKE2b-256 685e6b5344bba0da60bb131ca182c60245b4f2ad32dcd8d42de051e52acb56e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page