npm stats api showing 0 downloads since Sept 26th 2018

registry
priority:low
triaged

(Anshuljain03) #1

What I Wanted to Do

Get download stats for packages

What Happened Instead

All packages showed 0 downloads since September 25th

Reproduction Steps

API call

curl -X GET
https://api.npmjs.org/downloads/point/2018-09-26:2018-09-30/lodash

Platform Info

$ npm --versions
6.4.1
$ node -p process.platform
10.10.1

(Lars Willighagen) #2

This issue has been resolved now: https://status.npmjs.org/incidents/l3tx8t5mfmcs


(Michal Karpacki) #3

This issue seems to have returned. Here’s what the API shows for react

{
    "start": "2018-10-30",
    "end": "2018-11-09",
    "package": "react",
    "downloads": [
        {"downloads": 716778, "day": "2018-10-30"},
        {"downloads": 0, "day": "2018-10-31"},
        {"downloads": 575671, "day": "2018-11-01"},
        {"downloads": 587275, "day": "2018-11-02"},
        {"downloads": 0, "day": "2018-11-03"},
        {"downloads": 160311, "day": "2018-11-04"},
        {"downloads": 0, "day": "2018-11-05"},
        {"downloads": 0, "day": "2018-11-06"},
        {"downloads": 0, "day": "2018-11-07"},
        {"downloads": 0, "day": "2018-11-08"},
        {"downloads": 0, "day": "2018-11-09"}
    ]
}

(Lars Willighagen) #4

There are multiple occurrences of that happening in the past few months…

There’s no incident reported of this today, but there was a different incident yesterday.


(Michal Karpacki) #5

Hmm… and still getting zeros.

https://api.npmjs.org/downloads/range/2018-10-20:2018-11-14/react

If that’s an incident (I guess so anyway), then it should get reported too, right? Anything I can do to report it?


(Anshuljain03) #6

https://status.npmjs.org/incidents/34dp7vqc8d1j
At least the status page has been updated