Questions tagged [todoist]

Todoist API (aka Sync API) provides support for efficient data sync between clients and Todoist. All Sync API requests share the same endpoint URL: https://todoist.com/API/v7/sync. Sync API requests should be made in HTTP POST (application/x-www-form-urlencoded). Sync API responses, including errors, will be returned in JSON.

Todoist API (aka Sync API) provides support for efficient data sync between clients and Todoist.

All Sync API requests share the same endpoint URL: https://todoist.com/API/v7/sync. Sync API requests should be made in HTTP POST (application/x-www-form-urlencoded). Sync API responses, including errors, will be returned in JSON.

Sync API supports the following features:

  • Batching, reading and writing of multiple resources can be done in a single HTTP request. Batch requests help clients reduce the number of network calls needed to sync resources.
  • Incremental sync, you only retrieve data that are updated since the last time you performed a sync request.
36 questions
0
votes
1 answer

What's a good working strategy to read and write data on the Todoist web service from a Windows pc without admin priviliges?

Situation: I am a non-programmer with almost zero coding experience. I want to run custom python scripts on my task list on the Todoist website to improve the functionality. Namely: copying tasks and subtasks more easily. I have a work pc running…
Kasper
  • 1
  • 2
0
votes
1 answer

Using EF Core to delete item from ToDo list

I was asked to update the API and implement the RemoveToDoItem from the following code: [HttpDelete("{id}", Name = "DeleteTodoItem")] public async Task RemoveTodoItem(int id) { // TODO // Use EF Core to remove the item based…
oddvocado
  • 13
  • 3
0
votes
0 answers

How to fix saving duplicate items in my Reactjs todo list app?

Summary I am trying to create todo list in ReactJS. I expect only one list item to be added per action. Actual Behavior When I am adding to my todolist item, it adds the item twice. App.js import Header from "./components/Header"; import List from…
Roman
  • 33
  • 7
0
votes
1 answer

ToDoist API Python SDK throwing 410 Error

Background: I'm trying to write a Python script that creates a task in ToDoist using their REST API Python SDK, based on the charge percentage of my dog's Fi Collar (obtained via Pytryfi). Basically, if the Fi collar's battery falls below a certain…
Nick S
  • 41
  • 4
0
votes
0 answers

Spring OAuth2: Error when redirecting to the access_token from Todoist OAuth2

I am trying to create a simple OAuth2 Client to access Todoist API features like Todoist Webhook. I am using Spring Boot 3.0 with Spring OAuth2 Client. When get redirected to the access_token this error occurs: 2022-12-30T21:22:41.948-03:00 ERROR…
0
votes
1 answer

How to get API to output one parameter in JSON

I'm trying to withdraw all the tasks from a specific project within Todoist using their API and Python. My code looks like this: ListOfProjects = api.get_projects() ListOfPeople = api.get_tasks(project_id = 1234567899,) file = open('outputa.txt',…
0
votes
1 answer

How to get all the tasks from a certain project from Todoist Python API

I want to get all tasks from a specific task from Todoist. The documentation says. Taken from the documentation the code for getting all tasks is the following: from todoist_api_python.api import TodoistAPI api = TodoistAPI('someToken...') try: …
Max Hager
  • 536
  • 4
  • 13
0
votes
1 answer

Tampermonkey - Script not running on Todoist

I want to write a user script for Todoist, but - even though the URL matches - the script is not running on the Todoist but on every other webpage. Even the simplest example won't run. // ==UserScript== // @name Todoist Alert // @namespace …
Cano707
  • 181
  • 1
  • 10
0
votes
1 answer

Function keep initialising local variable instead of using existing variable

I'm new in javascript and I'm trying to get a bunch of task from different projects from todoist and trying to assign a label for those tasks. const task_list = {}; for (let id of project_id) { api.getTasks({ projectId: id, filter:…
Vector
  • 5
  • 1
0
votes
1 answer

Reqwest request not getting my reqwest::Client's default headers

I am trying to write a library that communicates with Todoist's REST API. The idea is that the library exposes a TodoistAPI struct that contains a reqwest::Client and a base_url. There is a new() function that returns the an instantiated TodoistAPI…
0
votes
0 answers

Can't find a Python module in AppleScript

I created a Python script that uses the Todoist API to export my task list to a list of strings (I want to paste them as Discord messages) and it works fine if I run the command on the Terminal window, but if I run the same command using…
0
votes
1 answer

Validating request payload in Express.js for Todoist Webhook API

I am trying to integrate the Webhooks API from Todoist. I get the correct header and body information, but fail to validate the X-Todoist-Hmac-SHA256 header. From the Todoist documentation: To verify each webhook request was indeed sent by…
0
votes
1 answer

TODOIST API: How to get list of users to assign a specific user to task?

It seems that API allows to assign users to a task (called an Item in the API) using the body field responsible_uid at the add an item endpoint. However I cannot find a way to list user uids or any other way to get user details anywhere in API…
0
votes
2 answers

Unable to import todoist.api

Trying to access the todoist api, and I copied some code from the api documentation. However, on my system I get an error stating: Unable to import 'todoist.api'pylint(import-error). I installed it with: pip install todoist-python as mentioned…
0
votes
1 answer

Cannot connect to todoist REST API with R

I am not very good with working with API's "From scratch" so to speak. My issue here is probably more to do with my ignorance of RESTful API's than the Todoist API specifically, but I'm struggling with Todoist because all of their documentation is…
Chris Umphlett
  • 380
  • 3
  • 15