Wunderlist

Go wrapper for Wunderlist 2 unofficial API

This project is maintained by mytrile

wunderlist

wunderlist is Go wrapper for Wunderlist unofficial API.

Installation

  $ go install github.com/mytrile/wunderlist

Example

Get all available tasks

package main

import (
  "fmt"
  "github.com/mytrile/wunderlist"
)

func main() {
  client := wunderlist.NewClient("your@email.com", "password")
  tasks, _ := client.Tasks()
  fmt.Printf("%+v", tasks)
}

API

Account

// Get the information about the user
account, _ := client.Account()
// Get the settings of the user
settings, _ := client.Settings()
// Get the friends of the user
friends, _ := client.Friends()
// Get the shares of the user
shares, _ := client.Shares()

Tasks

// Get all available tasks
tasks, _ := client.Tasks()
// Add task
task, _ := client.AddTask("list_id", "title", "true", "2013-10-23T17:06:28Z")

Lists

// Get all available lists
lists, _ := client.Lists()
// Add task
list, _ := client.AddList("title")

Reminders

// Get all available reminders
reminders, _ := client.Reminders()
// Add task
reminder, _ := client.AddReminder("task_id", "2013-10-23T17:06:28Z")

Note

Some functions like updating/deleting entities are missing. Here is the full API.

Credits to bsmt for this wonderfull article about reverse engineering the api. You can find the reference API here.

Meta

License

(The MIT License)

Copyright (c) 2013 Dimitar Kostov mitko.kostov@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.