How can we get both the total download count as well as the per-version download count using the NuGet v3 API?
AFAIK there's no API for this yet
@rrelyea can you point @Daniel15 in the right direction?
Is this available with the new API yet?
Any plans for an API?
The V2 API is still around for this.
This is working again! The SearchQueryService returns the data.
Example API request: https://api-v2v3search-0.nuget.org/query?q=packageid:microsoft.aspnetcore.mvc (note: ensure you get the endpoint URL from https://api.nuget.org/v3/index.json - do not hardcode api-v2v3search-0.nuget.org)
"totalDownloads": 1670417,
Consequently I've re-added the download count badge to shields.io: https://github.com/badges/shields/pull/945