How to Get Winget package with API

2.8k Views Asked by At

A few days ago, Microsoft introduced Rest API for Winget. I want to use API that Microsoft uses to get packages on Winget in my C# application. But there is no documentation for this. Both projects are open source (winget-cli and winget-cli-restsource) Unfortunately, I'm not familiar with C++ code.

Can anyone help?

1

There are 1 best solutions below

3
On

Additional documentation and a PowerShell script to aid in deployment are in progress (as of today 10/7/2021).

https://github.com/microsoft/winget-cli-restsource/pull/61