Skip to content

more api functions :) #15

merged 1 commit into from Jul 20, 2014

2 participants

negue commented Jul 20, 2014

closes #7 #8 #9

ADD API Calls with tests:

  • GET /user
  • POST /clear-completed
  • PUT /task/{id}
  • DELETE /task/{id}


  • Task.Challenges is a Challange not a List (see habitrpg/src/model/task.js)


  • DateTime Asserts in Test, sometimes the calls had a millisecond differences, and then the tests failed because of that, I had to replace these tests
  • GetTasksAsync now returns a habit/todo/daily/reward class instead of "task" ( see TaskConverter)
  • History.Date need to be unix timestamps and not full readable Datetime like the other DateTime Properties, so I needed an other Converter just for this
  • HabitRPGClient now also uses /api/v2/ as BaseAddress so that all calls don't have to add them

I hope I didn't forgot something.

@negue negue changed the title from more api functions :) - also closes #7 #8 #9 to more api functions :) Jul 20, 2014
@marska marska merged commit 3d63623 into marska:master Jul 20, 2014
marska commented Jul 20, 2014


marska commented Jul 20, 2014

New nuget package created v2.0.0.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.