ruckzuck icon indicating copy to clipboard operation
ruckzuck copied to clipboard

APIKey request

Open juangranados opened this issue 3 years ago • 3 comments

Hi Roger!

First of all, thanks for your amazing API!

I wrote a small PowerShell script to install software using RuckZuck API in my company because we are not allowed to use external apps.

When I write and test a script, I usually upload it to GitHub to contribute in a small way with the comunity, here is my script

Can I continue using your API please?

Thank you very much!

juangranados avatar Aug 16 '22 13:08 juangranados

Can you please send me an email to: roger at zander . ch

rzander avatar Aug 16 '22 14:08 rzander

I'm not very happy with the way you detect updates, as you always run a "getSoftware" even if the software is already installed... ;-) I recommend to reduce to call "getSoftware" as much as possible. You can e.g. check if the Manufacturer + ProductName + Version exists (values from "getCatalog") in the Registry and only call "GetSoftware" if this is not the case... If you run your script once a day on a few PC's... no problem... but if you trigger it on many devices on a schedule, it may impact the RuckZuck service...

If you are not allowed to use external apps, you can fork "RZGet.exe" and compile and sign it internally, then you have all the logic to detect updates out-of-the-box.. ?!

rzander avatar Aug 16 '22 14:08 rzander

Hi, Zander!

I'm not very happy with the way you detect updates, as you always run a "getSoftware" even if the software is already installed... ;-) I recommend to reduce to call "getSoftware" as much as possible. You can e.g. check if the Manufacturer + ProductName + Version exists (values from "getCatalog") in the Registry and only call "GetSoftware" if this is not the case... If you run your script once a day on a few PC's... no problem... but if you trigger it on many devices on a schedule, it may impact the RuckZuck service...

If you are not allowed to use external apps, you can fork "RZGet.exe" and compile and sign it internally, then you have all the logic to detect updates out-of-the-box.. ?!

I will modify it as you sugested! First call https://{URL}/getcatalog and check if software is installed before call GetSoftware

Can you please send me an email to: roger at zander . ch

Email sent!

juangranados avatar Aug 16 '22 15:08 juangranados