Get the repository information without winget #188872
-
We have the idea to create update notifications of particular software from our Monitoring tools. Is there a way to get the catalog e.g. from a RestAPI. |
Beta Was this translation helpful? Give feedback.
Answered by
vedantmgoyal9
Nov 11, 2024
Replies: 2 comments 5 replies
-
@Mannshoch you can use https://vedantmgoyal.vercel.app/api/winget-pkgs/versions/*. You can replace the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Mannshoch
winget list
is for listing the installed programs on a machine. I don't think you can use it as a source for determining app updates.Also, there is
winget show --versions <package-id>
which outputs all versions of a package. You can then executewinget show <package-id> -v <version>
to get more information like download url, publisher, description, homepage, etc... You can also use the WinGet PowerShell module to get output asPSObject
and the pipe them toConvertTo-Json
to get output in JSON format.