rzander / ruckzuck

software package manager for windows
https://ruckzuck.tools
Microsoft Public License
221 stars 20 forks source link

APIKey #202

Closed jydareau closed 1 year ago

jydareau commented 1 year ago

Hi roger

the API function "GetSoftwares" will require an APIKey . API-Keys

Could you give me an APIKey, i use Ruckzuck for 3 years

Thanks

Jean-Yves

aswincoolsaet commented 1 year ago

Hi,

I would also like an api key please.

Kind Regards, A.

rzander commented 1 year ago

please send an email to roger at zander.ch....

KenbhII commented 1 year ago

Using Admin PowerShell trying to pull API, Invoke-RestMethod -Uri "https://cdn.ruckzuck.tools/rest/v2/getsoftwares?shortname=Firefox&?apikey={API KEY}" | Out-File -FilePath c:\Firefox.txt

returns the following: Invoke-RestMethod : The remote server returned an error: (401) Unauthorized. At line:1 char:1

When I use Invoke-RestMethod -Uri "https://cdn.ruckzuck.tools/rest/v2/getsoftwares?apikey={API KEY}&?shortname=Firefox" Displays no information

what am I doing wrong?

rzander commented 1 year ago

The URL is not correct formated (remove the '?' before the "apikey=")...

Invoke-RestMethod -Uri "https://cdn.ruckzuck.tools/rest/v2/getsoftwares?shortname=Firefox&apikey={API KEY}"