Todoist
Simple Elixir wrapper for the Todoist API
Installation
If available in Hex, the package can be installed as:
Add todoist to your list of dependencies in
mix.exs:def deps do
[{:todoist, "~> 0.0.1"}]end
Ensure todoist is started before your application:
def application do
[applications: [:todoist]]end
Usage
Sync
{:ok, client} = Todoist.Client.new("<YOUR_ACCESS_TOKEN>")
request = Todoist.ReadRequest(resource_types: ["projects"])
response = Todoist.sync(client, request)