Open palashmon opened 6 years ago
Hi, I noticed that some of the examples in readme are not returning proper stats, maybe since those are dated 4 year back. For example,
Package "jquery", specific month:
In the readme, output mentioned is like:
{ downloads: 31623, start: "2014-01-01", end: "2014-01-31", package: "jquery" }
But actual output is like:
{ "error": "end date > start date" }
But, if we change the dates it is working fine:
and the output is like:
{ "downloads": 5352591, "start": "2018-01-01", "end": "2018-01-31", "package": "jquery" }
Same thing happens in all examples where date is hard-coded like:
Downloads per day, specific 30 day period
Regards!
Hi, I noticed that some of the examples in readme are not returning proper stats, maybe since those are dated 4 year back. For example,
Package "jquery", specific month:
In the readme, output mentioned is like:
But actual output is like:
But, if we change the dates it is working fine:
and the output is like:
Same thing happens in all examples where date is hard-coded like:
Downloads per day, specific 30 day period
Regards!