Files
metrics/source/plugins/wakatime/README.md
2021-02-17 14:17:27 +01:00

1.2 KiB
Raw Blame History

WakaTime plugin

The wakatime plugin displays statistics from your WakaTime account.

💬 Obtaining a WakaTime token

Create a WakaTime account and retrieve your API key in your Account settings.

WakaTime API token

Then setup WakaTime plugins to be ready to go!

Examples workflows

➡️ Available options for this plugin

- uses: lowlighter/metrics@latest
  with:
    # ... other options
    plugin_wakatime: yes
    plugin_wakatime_token: ${{ secrets.WAKATIME_TOKEN }}      # Required
    plugin_wakatime_days: 7                                   # Display last week stats
    plugin_wakatime_sections: time, projects, projects-graphs # Display time and projects sections, along with projects graphs
    plugin_wakatime_limit: 4                                  # Show 4 entries per graph