initial commit
initial commit
Update README.md
Update README.md
Initial commit of major rewrite with other improvements. Basis added an authentication layer in order to access their API, which broke the prior version of this script.
Updating README text
Updating README text
Updating README text
Updating README text
Updating README text
fixed require_once() path for BasisDataExport class
Replacing empty()'s with \!definied()'s for constants, which was causing errors for some
Fixed testing of user setting constants.
Merge pull request #7 from fohlin/master

Fix testing of user setting constants (thanks, @fohlin!)
Added additional SSL cert tip for Windows users

Thx @joshuagarity!
First implementation of sleep tracking data
Attempt to fix blank timestamps on Windows (strftime() issue?) by converting %T to %H:%M:%S
Updated API activities endpoint call per recent API changes
Changed all prior references of 'activities' to 'metrics' for better naming consistency with API
Added new 'activities' request to retrieve activity events (walking, cycling, etc.)
Bodystates have been removed as they are no longer included in the metrics data returned by the API (use activities instead)
Data is now saved to 3 different files (i.e., basis-data-[YYYY-MM_DD]-metrics.json, basis-data-[YYYY-MM_DD]-sleep.json, basis-data-[YYYY-MM_DD]-activities.json)
get data for given date ranges
get data for more than one account