Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 528 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 528 Bytes

Habitica PHP

A PHP class for the Habitica API.

API

GET

  • User status
  • User tasks
  • Task id by task name/text
  • Task information by task id

POST

  • Create New Tasks
    • type: habit | daily | todo | reward
    • text: This is an example title
    • value: 0
    • note: This is just a simple note
  • Score Tasks
    • taskId: some-task-id
    • direction: up | down
  • Update Tasks
    • taskId: some-task-id
    • text: Updated title

PUT

  • Update Tasks
    • 'text: Updated title' (required)