api

package
v0.1.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(token string) *client

Returns a new client, a must to use this package.

Types

type Task

type Task struct {
	UserID         string   `json:"user_id"`
	ID             string   `json:"id"`
	ProjectID      string   `json:"project_id"`
	SectionID      string   `json:"section_id"`
	ParentID       string   `json:"parent_id"`
	AddedByUID     string   `json:"added_by_uid"`
	AssignedByUID  string   `json:"assigned_by_uid"`
	ResponsibleUID string   `json:"responsible_uid"`
	Labels         []string `json:"labels"`
	Deadline       struct {
		Property1 string `json:"property1"`
		Property2 string `json:"property2"`
	} `json:"deadline"`
	Duration struct {
		Property1 int `json:"property1"`
		Property2 int `json:"property2"`
	} `json:"duration"`
	Checked        bool   `json:"checked"`
	IsDeleted      bool   `json:"is_deleted"`
	AddedAt        string `json:"added_at"`
	CompletedAt    string `json:"completed_at"`
	CompletedByUID string `json:"completed_by_uid"`
	UpdatedAt      string `json:"updated_at"`
	// Due - I'm not sure how this works yet
	Priority    int    `json:"priority"`
	ChildOrder  int    `json:"child_order"`
	Content     string `json:"content"`
	Description string `json:"description"`
	NoteCount   int    `json:"note_count"`
	DayOrder    int    `json:"day_order"`
	IsCollapsed bool   `json:"is_collapsed"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL