Habitica is a free habit and productivity app that treats your real life like a game. Habitica can help you achieve your goals to become healthy and happy.
Go to siteHabitica is a website and app that helps you form good habits and stick to them. You can use the Habitica API to help you build applications that help people form and stick to good habits.
Here are some examples of what you can build using the Habitica API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
habitica: {
type: "app",
app: "habitica",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://habitica.com/api/v3/user`,
headers: {
"x-client": `3a326108-1895-4c23-874e-37668c75f2ad-Pipedream`,
"x-api-user": `${this.habitica.$auth.user_id}`,
"x-api-key": `${this.habitica.$auth.api_token}`,
},
})
},
})
Habitica uses API keys for authentication. When you connect your Habitica account, Pipedream securely stores the keys so you can easily authenticate to Habitica APIs in both code and no-code steps.
To retrieve your API secrets,