Simple widget to display today's tasks from Todoist.
##Dependencies
Add it to dashing's gemfile:
gem 'httparty'
and run bundle install
. Everything should work now :)
##Usage
To use this widget, copy the todoist_tasks.rb
file in your /jobs
folder.
To include the widget in a dashboard, add the following snippet to the dashboard layout file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="2">
<div data-id="tasks" data-view="List" data-unordered="true" data-title="Tasks for today" data-moreinfo="Get these done!"></div>
</li>
##Settings
You'll need to add the token from todoist api Todoist API
The tasks are filtered by today's date, you can look and change to code in 'todoist_tasks.rb' if you so desire.
The data is updated every 30 seconds, this can again be changed in the 'todoist_tasks.rb' file.
This uses the standard widget for displaying lists.
Please leave a review and your feedback below, Thank you :)