8 Commits

Author SHA1 Message Date
8bc16155f3 Added linters and fixed linter warnings 2018-04-28 23:19:02 -05:00
afcf9adc25 Updated for rename 2018-04-25 21:58:16 -05:00
8c863d8449 Filled out readme 2018-04-25 21:53:27 -05:00
1e4a7d55b3 Updated for rename 2018-04-25 21:40:31 -05:00
842e8f7343 Slight correction on test spec 2018-04-25 21:35:02 -05:00
f730cf5345 Implemented all known endpoints
Renamed ShiftRequest to ShiftStats
Implemented tests
Bumped version for release
2018-04-25 21:28:51 -05:00
9a7b4119cd Formatting and naming tweaks
Also moved the apiKey to be a class property that can optionally be specified by the caller. If not specified, the Android app's key is used.

Finally, made 'headers' optional for ShiftRequest::_request(). If not specified, the full set of headers, including API key, is used.
2018-04-25 19:41:25 -05:00
b3f05f8329 Initial commit
Basic structure and proof of concept for talking with Shift via Node. Will eventually expose the remaining (known) APIs, but this was to get myself familiar with promises, http, streams, etc.
2018-04-24 22:36:46 -05:00