Add time range as a parameter (#75)

* Add time range as a parameter

* Update the format of time range title; validate the json from wakatime API

* Update README to introduce TIME_RANGE parameter

Authored by: @jameshwc
This commit is contained in:
jameshwc
2022-02-21 09:58:47 +08:00
committed by GitHub
parent 645f70e0c2
commit 1b31f85a36
3 changed files with 45 additions and 19 deletions

View File

@@ -42,6 +42,10 @@ inputs:
default: true
required: false
TIME_RANGE:
description: "Time range of the queried statistics"
default: "last_7_days"
SHOW_TOTAL:
description: "Displays weekly [total] coding time"
default: false