Skip to main content

License API connector for Python

Project description

license-api-py

Installation

pip install license-api-py

Code example

import asyncio
from license_api_py import LicenseAPI

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

user = {
    "username": "bluniparker",
    "password": "your-password",
    "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.2.tar.gz (11.1 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.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for license_api_py-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e239e54ab032c1511b1b198262a6490290ae6f03a265d30e81d379c2f6114524
MD5 eca6665a941260c63820dd098c8a9396
BLAKE2b-256 936f23dd6f86cafae4003006921d278400b1746ec0c7dc78f7abe283342d16f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for license_api_py-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc1cd908f48d8f28468133f1b6e049ef0f36d8d3c0dead24ec98606382ebf7e3
MD5 1553235bf3e02d3cde98d73275eeaa4b
BLAKE2b-256 562557f935981ff41e516d5b20bcb304ad6e5d621a09cf431c2c4d2ee001e31c

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