Badgen.net: [npm]: downloads/day fails again (shows 0)

Created on 25 Jul 2018  路  6Comments  路  Source: badgen/badgen.net

Pretty strange. Now it wants to be 3 days before ... ;d wat the heck. I totally should see how Shields handles this.

Most helpful comment

It shows 0 again. We have to bury this daily counting badge for a long time I think. Close for now.

All 6 comments

How that's possible. That API is hilarious.

https://api.npmjs.org/downloads/point/2018-07-21/react - ok
https://api.npmjs.org/downloads/point/2018-07-22/react - ok
https://api.npmjs.org/downloads/point/2018-07-23/react - zero downloads?! :scream:
https://api.npmjs.org/downloads/point/2018-07-24/react - ok
https://api.npmjs.org/downloads/point/2018-07-25/react - zero, okey acceptable

Huh. Shields does not have badge for dowloads/day? Interesting.

Seems the api are not so stable, their data count should be correct, here's what I got for now:

{"downloads":491560,"start":"2018-07-23","end":"2018-07-23","package":"react"}

from https://api.npmjs.org/downloads/point/2018-07-23/react

Seems the api are not so stable

For sure. Let's just remove the dowloads/day? It works i most of the cases, but when user see 0 won't be cool for his customers ;d Always will have such issues opened here because of that..

Agree, remove it from index, leave the feature available for future evaluation. Some test cases here:





Badge Format: https://badgen.net/npm/dd/webpack?label=webpack

we can close this?

It shows 0 again. We have to bury this daily counting badge for a long time I think. Close for now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tunnckoCore picture tunnckoCore  路  3Comments

shellscape picture shellscape  路  4Comments

bjankord picture bjankord  路  3Comments

tunnckoCore picture tunnckoCore  路  3Comments

amio picture amio  路  5Comments