Access to Nuget used packages from API


I need to automate a few steps on our build process, one of the steps requires I get the list of Nuget used packages that Team City generates every build on the nugetPackagesBuildTab.

I would prefer to access this information throught the API, but I've been unable to find any away to acheive this. Is my only option HTML scrapping?



1 comment
Comment actions Permalink

Hi Pedro,

No, we do provide special REST API request to get this list. While this list is saved as hidden artifact in .teamcity/nuget/nuget.xml folder. So you can use REST API to download this file:


Please sign in to leave a comment.