nandosousafr / todoist

Todoist Elixir wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Todoist

Build Status

Simple Elixir wrapper for the Todoist API

Installation

If available in Hex, the package can be installed as:

  1. Add todoist to your list of dependencies in mix.exs:

    def deps do [{:todoist, "~> 0.0.1"}] end

  2. 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)

About

Todoist Elixir wrapper

License:MIT License


Languages

Language:Elixir 100.0%