Control/Retrieve Sync Status via API

Hi,

Using the API I can script integration with things pretty easily, unfortunately, I can’t get sync information without connecting to the database directly. It would be nice to be able to retrieve the last sync, and trigger a sync via the API.

Controlling sync is definitely too complicated to be added to the API any time soon.

Retrieving the status is easier, but may I ask what you want to do with it and why calling sqlite doesn’t work?

sqlite3 ~/.config/everdo/db 'select ts from sync_history order by ts desc limit 1;'