habitrpg-todo-sync
habitrpg-todo-sync copied to clipboard
API-Version 2
While poking around in the code, I noticed that HabitRPG has updated it's API-version and deprecated version 1. Your tool is built for V1.
Adding a task still works, but the extra fields you use for identifying already added tasks are no longer present.
Do you have any idea on how to match existing/already synced tasks against a running sync?
I would be glad to help/revive this project at least to the point where it's working for me.
I have to correct my analysis: the hts_external_* are set upon creation but not returned upon querying the list of existing tasks somehow.
Simply switchtig to /api/v2/ (and renaming of paths) lead to duplicate addition of tasks.
Unfortunately, yeah...it's pretty old. Thanks for your pull request; would you like to simply be a committer so I'm not a bottleneck? Then you can merge your PRs too.
Cool, thanks.
Seems like I should read up on the HabitRPG APIv2 and install a local version of that, now. :-)
You may be interested in https://github.com/kusold/habitrpg-api
It's an attempt to capture any changes to the habitrpg api so that only one person needs to make any necessary changes. It runs integration tests through travisci https://travis-ci.org/kusold/habitrpg-api
Oh nice. I will definitely take a look how I can use this in the upgrade process.