Grocy uses period_interval to store the period frequency for a task (IE - every 2 days would have a period_interval of 2, every 6 months would have a period_interval of 6.
As far as I am aware, this data is only included when calling /api/chores/{chore_id}.
If this would create an anti-pattern or be overly complicated, it could be more helpful then to create a new service such as grocy.get_generic which would use the provided data to pull from the API and return a result to the user.
Grocy uses
period_interval
to store the period frequency for a task (IE - every 2 days would have aperiod_interval
of 2, every 6 months would have aperiod_interval
of 6.As far as I am aware, this data is only included when calling
/api/chores/{chore_id}
.If this would create an anti-pattern or be overly complicated, it could be more helpful then to create a new service such as
grocy.get_generic
which would use the provided data to pull from the API and return a result to the user.