Skip to content
leetcode 徽标 badge
Go HTML Makefile Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app feat: 增加 prometheus Aug 26, 2019
cmd feat: 增加 prometheus Aug 26, 2019
internal
static
vendor
.gitignore
Dockerfile
Gopkg.lock
Gopkg.toml
LICENSE
Makefile
README.md
main.go

README.md

leetcode 徽标

使用

数据 15 分钟更新一次https://leetcode.com/haozibi{LeetCode_ID}haozibi

用户名

  • LeetCode: https://lc.coding.gs/v1/{LeetCode_ID}.svg
  • LeetCodeCN: https://lc.coding.gs/v1cn/{LeetCode_ID}.svg

排名

  • LeetCode: https://lc.coding.gs/v1/ranking/{LeetCode_ID}.svg
  • LeetCodeCN: https://lc.coding.gs/v1cn/ranking/{LeetCode_ID}.svg

通过题目数/总题目数

  • LeetCode: https://lc.coding.gs/v1/solved/{LeetCode_ID}.svg
  • LeetCodeCN: https://lc.coding.gs/v1cn/solved/{LeetCode_ID}.svg

通过题目数/总题目数 比例

  • LeetCode: https://lc.coding.gs/v1/solved-rate/{LeetCode_ID}.svg
  • LeetCodeCN: https://lc.coding.gs/v1cn/solved-rate/{LeetCode_ID}.svg

通过提交/总提交

  • LeetCode: https://lc.coding.gs/v1/accepted/{LeetCode_ID}.svg
  • LeetCodeCN: https://lc.coding.gs/v1cn/accepted/{LeetCode_ID}.svg

通过提交/总提交 比例

  • LeetCode: https://lc.coding.gs/v1/accepted-rate/{LeetCode_ID}.svg
  • LeetCodeCN: https://lc.coding.gs/v1cn/accepted-rate/{LeetCode_ID}.svg

自定义

此项目依托 shields.io,支持所有 shields 的 Query 参数

例如:

  • https://lc.coding.gs/v1cn/ranking/haozibi.svg?logo=leetcode
  • https://lc.coding.gs/v1cn/ranking/haozibi.svg?color=ff5983&logo=leetcode
  • https://lc.coding.gs/v1cn/ranking/haozibi.svg?style=for-the-badge&color=ff5983&logo=leetcode

致谢

You can’t perform that action at this time.