Skip to content

Commit e9b2d52

Browse files
committed
Fix missing parameter in Get Web API log
1 parent 4f11d28 commit e9b2d52

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

licensing/methods.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def deactivate(token, product_id, key, machine_code, floating = False):
180180

181181
@staticmethod
182182
def get_web_api_log(token, product_id = 0, key = "", machine_code="", friendly_name = "",\
183-
limit = 10, starting_after = 0, ending_before=0):
183+
limit = 10, starting_after = 0, ending_before=0, order_by=""):
184184

185185
"""
186186
This method will retrieve a list of Web API Logs. All events that get
@@ -201,6 +201,7 @@ def get_web_api_log(token, product_id = 0, key = "", machine_code="", friendly_n
201201
"FriendlyName":friendly_name,\
202202
"Limit": limit,\
203203
"StartingAfter": starting_after,\
204+
"OrderBy" : order_by,\
204205
"EndingBefore": ending_before})
205206
except HTTPError as e:
206207
response = e.read()

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
setup(
33
name = 'licensing', # How you named your package folder (MyLib)
44
packages = ['licensing'], # Chose the same as "name"
5-
version = '0.20', # Start with a small number and increase it with every change you make
5+
version = '0.21', # Start with a small number and increase it with every change you make
66
license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
77
description = 'Client library for Cryptolens licensing Web API.', # Give a short description about your library
88
author = 'Cryptolens AB', # Type in your name
99
author_email = '[email protected]', # Type in your E-Mail
1010
url = 'https://cryptolens.io', # Provide either the link to your github or to your website
11-
download_url = 'https://github.com/Cryptolens/cryptolens-python/archive/v_20.tar.gz', # I explain this later on
11+
download_url = 'https://github.com/Cryptolens/cryptolens-python/archive/v_21.tar.gz', # I explain this later on
1212
keywords = ['software licensing', 'licensing library', 'cryptolens'], # Keywords that define your package best
1313
classifiers=[
1414
#'Development Status :: 5 - Stable', # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package

0 commit comments

Comments
 (0)