leesharma / rescuetime

Ruby interface to the RescueTime APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Filter by Time" story

leesharma opened this issue · comments

"Filter by Time" story

As a ruby developer,
In order to retrieve the relevant activities,
I want to filter activities by date and time.

API Reference

Principle name Short Alias Short Values Description
restrict_begin rb date time Sets the start day for data batch, inclusive (always at time 00:00, start hour/minute not supported) Format ISO 8601 "YYYY-MM-DD"
restrict_end re date time Sets the end day for data batch, inclusive (always at time 00:00, end hour/minute not supported) Format ISO 8601 "YYYY-MM-DD"

Possible Syntax

from: '2012-03-04', to: '2012-03-05'
or, if date is one day:
date: '2012-03-04'