Skip to main content
Python 3 package licensing 0.54. Reviewed source revision.

get_products

Retrieve the products accessible to the access token.

Parameters

Result

Returns (products, ''), where products is a list of dictionaries. Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.

Checks

The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.

get_keys

Search a product’s license keys and retrieve one page of results.

Parameters

Result

Returns (license_keys, '', pagination). license_keys is a list of dictionaries, not LicenseKey objects. pagination is a dictionary with returned, total and pageCount. Returns a two-item (None, message) tuple on API rejection or a handled request failure. Check the first item before reading pagination. Malformed response data can raise an exception.

Checks

The API checks access permissions. These results are not signed license objects for offline verification. Web API reference.

Example

This counts licenses created in the 2026 UTC calendar year for example product 3349. Replace the access token and product ID; the access token needs the GetKeys permission.

FAQ

The list contains only the requested page. result[2]["total"] is the number matching the filter across all pages of that product. returned is the number on the current page. For several products, sum their filtered totals.
Python SDK Reference