visual-studioapinugetmyget

MyGet Public feed API


I am working on a Utility that verifies your project.json file in an ASP.NET application.

I want to verify that the packages referenced in project.json actually exist.

For this I require access to the MyGet public feed. Is there an API and where can I find the docs?


Solution

  • I was able to figure out the API. MyGet uses an OData API which is publicly accessible.

    Here is a good link on OData

    An example of a sample query I constructed:

    https://www.myget.org/F/aspnet/api/v2/Packages()?$format=json