leetcode-badge

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2019 License: MIT Imports: 3 Imported by: 0

README

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

致谢

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL