Skip to content

Commit ab86fcd

Browse files
Harun Dalicimmarquezs
Harun Dalici
authored andcommitted
add is_collecting function
def is_collecting(self): """ Boolean status query about the collecting process """ resp = self.device.action(self.url+"/isCollecting") return resp
1 parent e3e598f commit ab86fcd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

myjdapi/myjdapi.py

+7
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,13 @@ def add_links(self,
394394
"""
395395
resp = self.device.action("/linkgrabberv2/addLinks", params)
396396
return resp
397+
398+
def is_collecting(self):
399+
"""
400+
Boolean status query about the collecting process
401+
"""
402+
resp = self.device.action(self.url+"/isCollecting")
403+
return resp
397404

398405
def get_childrenchanged(self):
399406
"""

0 commit comments

Comments
 (0)