Todo list, checklist and task manager app
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
The Ticktick API allows developers to create and manage tasks and to dos in a
variety of environments. With the API, users can manage their personal tasks,
tasks from multiple team members, and combine tasks from diverse sources. Here
are some examples of what you can build with the Ticktick API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ticktick: {
type: "app",
app: "ticktick",
}
},
async run({steps, $}) {
const data = {
"title": `Example task from Pipedream`,
}
const message = "Uncomment the code in order to make authenticated requests to Ticktick"
return message
// return await axios($, {
// method: "post",
// url: `https://api.ticktick.com/open/v1/task`,
// headers: {
// Authorization: `Bearer ${this.ticktick.$auth.oauth_access_token}`,
// },
// data,
// })
},
})
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}