CodeClimate is now Qlty
CodeClimate has now been deprecated in favour of Qlty (read announcement post).
As a result, all CodeClimate Badgen are broken.
The Qlty api requires token https://docs.qlty.sh/api-reference/api-overview/introduction Maybe we gonna have to deprecate codeclimate badges
I don't know if a given token can request the API for any projects. Maybe, you can try to create a new token and request this to test:
curl -H "Authorization: Bearer <TOKEN>" https://api.qlty.sh/gh/gmartigny/projects/whiskers.js/metrics | jq
Otherwise, it might be possible to scrap the Qlty badges:
- https://qlty.sh/gh/GMartigny/projects/Whiskers.js/maintainability.svg
- https://qlty.sh/gh/GMartigny/projects/Whiskers.js/coverage.svg
Problem is that the value is not text, but a path.
For APIs that need tokens, a personal token will hit rate limitation some day, unless not many people use it.
I kept thinking is there a way to enable user provided token, but not a clear answer yet. Maybe something like https://badgen.net/memo to let user post token for a specific badge? Or a better ux with the badge builder. Both seems a bit tricky.