ADD time range in API query

format is &ts=[2014-07-01T00:00:00,2014-07-02T00:00:00]