skynetim/skynet — pull request #33 by bassdread (2014-03-27 21:34:05+00:00)
Title: allow a time range to fetched from /data

This is my first go at fetching data from /data limited by a timeframe. This adds start and end to to return all data entries matching in between those times.

```
curl -X GET localhost:3000/data/ef154af1-b5f2-11e3-8af7-f3d4ce6cbe76?token=03ezmz4tx50vvlsormq0jsb8wnv4e7b9\&start=2014-03-27T21:03:00\&finish=2014-03-27T21:03:59\&limit=10
```

This will return 10 entries from the data collection whos timestamp is between the start and finish times. It also adds "limit" to control the number of entries returned. Setting limit=0 bypasses any limits and returns all the values.