Recuento de descargas del paquete Nuget
Frecuentes
Visto 500 veces
3
I would like to add a count of a number of times a particular package was downloaded to my page. I'm only interested in a single package.
I understand I can make a call to http://www.nuget.org/packages/[packageId]
, parse the page and get to the count this way, but this is quite troublesome.
Vi este, but could not figure out how to construct a url to get xml feed.
Cualquier ayuda se agradece.
2 Respuestas
0
You might be interested by this: UsingOdataWithTheNugetApi
Respondido el 10 de Septiembre de 13 a las 18:09
0
If you want to show count on HTML UI just use badges. You can crate many types of them e.g. with: escudos.io
Downloads count badge ejemplo:
Nuget version badge ejemplo:
Badges are very popular now you can use them to show Build and unit tests results, package version, download count, rating, analytics, etc... You can see many examples on Documentos de Github.
respondido 23 nov., 20:16
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas xml api nuget nuget-package or haz tu propia pregunta.
The link is down... Do you still have the example code somewhere? - franzhuber23