tobi-wan-kenobi / bumblebee-status

bumblebee-status is a modular, theme-able status line generator for the i3 window manager.
https://bumblebee-status.readthedocs.io/en/main/
MIT License
1.2k stars 229 forks source link

[modules/todoist] - New module that connects to https://api.todoist.com #967

Closed Duarte-Figueiredo closed 1 year ago

Duarte-Figueiredo commented 1 year ago

Improvement

Adds a new todoist module to display the number of tasks due

Module Doc:

Displays the nº of Todoist tasks that are due:

    * https://developer.todoist.com/rest/v2/#get-active-tasks

Uses `xdg-open` or `x-www-browser` to open web-pages.

Requires the following library:
    * requests

Errors:
    if the Todoist get active tasks query failed, the shown value is `n/a`

Parameters:
    * todoist.token: Todoist api token, you can get it in https://todoist.com/app/settings/integrations/developer.
    * todoist.filter: a filter statement defined by Todoist (https://todoist.com/help/articles/introduction-to-filters), eg: "!assigned to: others & (Overdue | due: today)"
tobi-wan-kenobi commented 1 year ago

thank you very much for this cool addition!