Add support for sync endpoint resources (specifically reminders)

Open
#219 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
api

Research direction

Start by reviewing the Python SDK's existing resource implementations and the Todoist v1 Sync API Reminders documentation linked in the issue. Determine which reminder operations the SDK should expose, and check whether other Sync-only resources are in scope. Done means the SDK supports creating reminders for tasks without callers making direct Sync API requests.

Written by the indexing model from the issue text.

Description

api enhancement

Enhancement description

I noticed the python sdk does not include any of the sync endpoint resources. Specifically for the homeassistant integration, I was unable to use the SDK for creating reminders. This does appear to be supported by the new v1 api: https://developer.todoist.com/api/v1/#tag/Sync/Reminders

The problem it solves

Allows the python sdk the ability to create reminders and other abilities not currently supported. (I didn't audit what else can only be created/viewed/updated/etc. in the sync endpoint)

Alternatives

I was able to work around this in the upgrade of the sdk by calling the sync api directly, but that is strongly discouraged by Home Assistant: https://github.com/home-assistant/core/pull/161811/changes#diff-0df90a93485af80ce0879138de9155f75b1a60a63454406902e6246df2da2194R309

Use case / screenshots

Allowing a user to create a reminder for a task

Additional information

Dominant language
Python
Stars
254
Forks
34
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Doist/todoist-api-python

All issues in Doist/todoist-api-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.