1
0
mirror of https://github.com/badges/shields.git synced 2025-11-15 10:01:09 +03:00
Files
shields/services/crates/crates-user-downloads.tester.js
jNullj 66631524c5 Add [CratesUserDownloads] service and tester (#10619)
* add jsdoc for crates fetch func

* add BaseCratesUserService for user stats api route

part of solution for #10614

* Add CratesUserDownloads service and tester

This commit adds the CratesUserDownloads service and tester files. The CratesUserDownloads service shows the user total downloads at Crates.io.

as requested by #10614

* render userid in code block

* add non-exsistent user CratesUserDownloads test

userid for API usage is int32, therefor to minimize chance of user taking the id used the max value for int32 is used.

* fixed typo
2024-10-20 20:03:54 +00:00

686 B