Skip to content

Latest commit

 

History

History
117 lines (112 loc) · 3.47 KB

README.md

File metadata and controls

117 lines (112 loc) · 3.47 KB
← Back to plugins index

🗳️ Leetcode

This plugin displays statistics from a LeetCode account.

⚠️ Disclaimer

This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with LeetCode. All product and company names are trademarks™ or registered® trademarks of their respective holders.

Supported features
→ Full specification
📗 Classic template
👤 Users
No tokens are required for this plugin

➡️ Available options

OptionDescription

plugin_leetcode

Enable leetcode plugin

type: boolean
default: no

plugin_leetcode_user

LeetCode login

⏯️ Cannot be preset
type: string
default: → User login

plugin_leetcode_sections

Displayed sections

  • solved will display solved problems scores
  • skills will display solved problems tagged skills
  • recent will display recent submissions
type: array (comma-separated)
default: solved
allowed values:
  • solved
  • skills
  • recent

plugin_leetcode_limit_skills

Display limit (skills)

type: number (0 ≤ 𝑥)
zero behaviour: disable
default: 10

plugin_leetcode_limit_recent

Display limit (recent)

type: number (1 ≤ 𝑥 ≤ 15)
default: 2

ℹ️ Examples workflows

name: LeetCode
uses: lowlighter/metrics@latest
with:
  filename: metrics.plugin.leetcode.svg
  token: NOT_NEEDED
  base: ""
  plugin_leetcode: yes
  plugin_leetcode_sections: solved, skills, recent