Replies: 1 comment
-
@zakyum |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
While working with the Public Registry API, I noticed that the sum of the "Per version download counts" endpoint doesn't match the download count of the "Point values" endpoint for the same period.
It shouldn't matter if I get the total download count of a package via the point API or if I get the download count of all the versions and then manually sum them up because it's the same underlying data. So, at the end, I should get the same result for both, right?
Well, to my surprise this is not the case, the sum of the download count per version is significantly higher, from 27% to 13%, for all packages which I tested.
As I couldn't find anything regarding this in any of the docs pages or online, I consider this a bug.
Minimal reproducible (also on JSFiddle):
Hope you can help :)
UPDATE:
Seems like the issue has been noticed and fixed (works now). Although, an short answer/ack would have been nice...
Beta Was this translation helpful? Give feedback.
All reactions