Skip to content

Commit

Permalink
Add more return fields to GetKeys method
Browse files Browse the repository at this point in the history
  • Loading branch information
artemlos committed May 7, 2024
1 parent bd19546 commit 34dfe79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion licensing/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ def get_keys(token, product_id, page = 1, order_by="ID ascending", search_query=
else:
return (None, "Could not contact the server.")

return (jobj["licenseKeys"], "")
return (jobj["licenseKeys"], "", {"returned":jobj["returned"], "total":jobj["total"], "pageCount":jobj["pageCount"]})


class Customer:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
setup(
name = 'licensing', # How you named your package folder (MyLib)
packages = ['licensing'], # Chose the same as "name"
version = '0.45', # Start with a small number and increase it with every change you make
version = '0.46', # Start with a small number and increase it with every change you make
license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
description = 'Client library for Cryptolens licensing Web API.', # Give a short description about your library
author = 'Cryptolens AB', # Type in your name
author_email = 'support@cryptolens.io', # Type in your E-Mail
url = 'https://cryptolens.io', # Provide either the link to your github or to your website
download_url = 'https://github.com/Cryptolens/cryptolens-python/archive/v_45.tar.gz', # I explain this later on
download_url = 'https://github.com/Cryptolens/cryptolens-python/archive/v_46.tar.gz', # I explain this later on
keywords = ['software licensing', 'licensing library', 'cryptolens'], # Keywords that define your package best
classifiers=[
#'Development Status :: 5 - Stable', # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
Expand Down

0 comments on commit 34dfe79

Please sign in to comment.