winget-run / api

winget.run rest api
45 stars 4 forks source link

Request for access token #165

Open peacemaker360 opened 2 years ago

peacemaker360 commented 2 years ago

Hi team,

I started receiving 401 (Unauthorized) errors while trying to search for packages through the API (https://api.winget.run/v2/packages). As suggested by the docs from https://docs.winget.run/docs/authentication and https://docs.winget.run/docs/ratelimiting, I suppose I should start using authenticated request taking use of access tokens? Could you let me know if I'm in the right direction or what I should do else?

Thank you very much in advance, Fabian

peacemaker360 commented 2 years ago

Hi Team,

I figured out that the origin of the 401 issues was a local networking related issue, not with the api/ratelimiting. However, I'd still like to know if it would be better to use access token as suggested by the docs.

Thanks and kind regards, Fabian