### ⏰ WakaTime plugin The *wakatime* plugin displays statistics from your [WakaTime](https://wakatime.com) account.
đŸ’Ŧ Obtaining a WakaTime token Create a [WakaTime account](https://wakatime.com) and retrieve your API key in your [Account settings](https://wakatime.com/settings/account). ![WakaTime API token](/.github/readme/imgs/plugin_wakatime_token.png) Then setup [WakaTime plugins](https://wakatime.com/plugins) to be ready to go!
#### âžĄī¸ Available options
TypeDescription
plugin_wakatime

Display WakaTime stats

type: boolean
default: no
plugin_wakatime_token

WakaTime API token

🔐 Token
type: token
plugin_wakatime_days

WakaTime time range

type: string
default: 7
allowed values:
  • 7
  • 30
  • 180
  • 365
plugin_wakatime_sections

Sections to display

type: array
default: time, projects, projects-graphs, languages, languages-graphs, editors, os
allowed values:
  • time
  • projects
  • projects-graphs
  • languages
  • languages-graphs
  • editors
  • editors-graphs
  • os
  • os-graphs
plugin_wakatime_limit

Maximum number of entries to display per graph

type: number (0 ≤ đ‘Ĩ)
default: 5
plugin_wakatime_url

Address where to reach your Wakatime instance

type: string
default: https://wakatime.com
plugin_wakatime_user

Your Wakatime user on the selfhosted Wakapi instance

type: string
default: current
*[→ Full specification](metadata.yml)* #### â„šī¸ Examples workflows ```yaml name: WakaTime uses: lowlighter/metrics@latest with: filename: metrics.plugin.wakatime.svg token: NOT_NEEDED base: '' plugin_wakatime: 'yes' plugin_wakatime_sections: time, projects, projects-graphs, languages, languages-graphs, editors, os plugin_wakatime_token: ${{ secrets.WAKATIME_TOKEN }} ```