download-counts
download-counts copied to clipboard
Readme examples issue
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
- /downloads/range/2014-01-03:2014-02-03/jquery (Not working)
- /downloads/range/2018-01-03:2018-02-03/jquery (It works)
Regards!