Categorygithub.com/wtfutil/todoist
modulepackage
0.0.1
Repository: https://github.com/wtfutil/todoist.git
Documentation: pkg.go.dev

# README

todoist

Unofficial todoist API implementation. Forked from https://github.com/darkSasori/todoist.

# Packages

No description provided by the author

# Functions

CreateProject create a new project with a name Example: todoist.Token = "your token" project, err := todoist.CreateProject("New Project") if err != nil { panic(err) } fmt.Println(project).
CreateTask create a new task.
GetProject return a project by id Example: todoist.Token = "your token" project, err := todoist.GetProject(1) if err != nil { panic(err) } fmt.Println(project).
GetTask return a task by id.
ListProject return all projects Example: todoist.Token = "your token" projects, err := todoist.ListProject() if err != nil { panic(err) } fmt.Println(projects).
ListTask return all task, you can filter using QueryParam See documentation: https://developer.todoist.com/rest/v8/#get-tasks.

# Variables

Token save the personal token from todoist.

# Structs

Due is a model of todoist project entity.
Project is a model of todoist project entity.
Task is a model of todoist project entity.

# Type aliases

QueryParam is a map[string]string to build http query.