Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API-Version 2 #46

Open
kronn opened this issue May 17, 2015 · 5 comments
Open

API-Version 2 #46

kronn opened this issue May 17, 2015 · 5 comments

Comments

@kronn
Copy link
Collaborator

kronn commented May 17, 2015

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.

@kronn
Copy link
Collaborator Author

kronn commented May 17, 2015

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.

@wizonesolutions
Copy link
Owner

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.

@kronn
Copy link
Collaborator Author

kronn commented May 28, 2015

Cool, thanks.

Seems like I should read up on the HabitRPG APIv2 and install a local version of that, now. :-)

@kusold
Copy link

kusold commented May 28, 2015

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

@kronn
Copy link
Collaborator Author

kronn commented May 28, 2015

Oh nice. I will definitely take a look how I can use this in the upgrade process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants