Note This example related to Docker version of GroupDocs.Viewer-Cloud only The metered license can be used in Docker version of GroupDocs.Viewer-Cloud. Here is an example how to retrieve metered license consumption.
You can find more information about Docker version at How to self-host GroupDocs.Viewer Cloud with Docker
Resource URI HTTP GET ~/viewer/consumption
cURL example Request # cURL example to get metered license consumption curl -v "http:///v2.0/viewer/consumption" \ -X GET \ -H "Accept: application/json" \ -H "Authorization: Bearer " Response { "credit": 487848, "quantity": 6061570985.... However, manually writing client code can be difficult, error-prone...import groupdocs_viewer_cloud client_id = "XXXX-XXXX-XXXX-XXXX" #...