Welcome to badge-cache!
Usage:
- Get a crate's badge:
/crate/<crate-name>?<shields-io-params>
ex. /crate/iron?label=iron&style=flat-square
ex. /crate/mime.svg?label=mime
(shields.io compatible url)
/crates/v/<crate-name>.svg?<shields-io-params>
ex. /crates/v/mime.svg?label=mime
ex. /crates/v/mime.png?label=mime
ex. /crates/v/mime.json?label=mime
- Get a generic badge:
/badge/<badge-info-triple>?<shields-io-params>
ex. /badge/custom-long--status--note-blue?style=flat-square
ex. /badge/std-1.29.1-blue.svg
(shields.io compatible url)
/badge/<badge-info-triple>.svg?<shields-io-params>
ex. /badge/custom-status-x.svg?style=social
- Force a server cache reset:
See the reset page, or use the api directly:
ex.
curl -X DELETE https://badge-cache.kominick.com/reset/crate/mime.jpg?label=mime
curl -X DELETE https://badge-cache.kominick.com/reset/crates/v/mime.jpg?label=mime