Closed spion closed 7 years ago
:+1:
I have been meaning to do some work on the downloads API to provide various enhancements, but it's unlikely to happen in 2014. If you're willing to put some rate-limiting on your requests I'm happy to let you make the shit-ton of calls in the meantime.
The bulk endpoint addresses this use-case:
Hi,
I would like to fix npmsearch, an old module of mine which uses a combination of factors to give nice search results for npm.
To do this with the current API I would need to send 100K requests to fetch weekly download counts for each package. Thats probably a bad idea, right? But it probably wouldn't be too bad to do one request and receive a list with 100K download counters.
Would you be open to having another API endpoint for this?