averbis / averbis-python-api

Conveniently access the REST API of Averbis products using Python
Apache License 2.0
12 stars 4 forks source link

Add endpoint for uploading license file #161

Closed DavidHuebner closed 1 month ago

DavidHuebner commented 1 month ago

Is your feature request related to a problem? Please describe. Currently, license file upload is done by a curl request as described in the Averbis Support To Import License File.

Describe the solution you'd like I would like to see a new endpoint on Client level that allows the user to upload the license file to simplify this upload, something like

client = Client("url_to_health_discovery/health-discovery/", username="...", password="...")
client.upload_license(license_path: Union[str, Path])

Additional context License files are required from HD 7.4 onwards.