Skip to content

golang client for habitica, a free habit building productivity app

License

Notifications You must be signed in to change notification settings

wfernandes/go-habitica

Repository files navigation

Build Status

go-habitica

golang client for habitica, a free habit building productivity app.

It is a client for the v3 API.

NOTE

There is support for quite a few endpoints regarding the tasks API. If there is an endpoint that you'd like to see supported by the client feel free to create a Github issue or a pull request :)

Tests

Unit

Run the unit tests as follows,

    go test ./... -short

Integration

The integration tests hits the actual API. You will need to set environment variables API_TOKEN and USER_ID provided by Habitica.

export API_TOKEN="some-api-token"
export USER_ID="some-user-id"
go test ./...

Purpose

  • I need this client for another IoT related project that I want to work on.
  • I wanted to learn the idiomatic way of writing golang clients. This client is heavily influenced for today's notion of "best practices" for building clients. I'm using go-github as a guide.

Project

I'm going to create tasks in this project to keep track of the work and progress.

About

golang client for habitica, a free habit building productivity app

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages