0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
I'll find something to put here
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Overview¶ ↑

This is a very rough work in progress. ‘Sync’ is not yet accurate - it’s only reliable for a one-off fetch.

The original (javascript) sync code is here:

github.com/6wunderkinder/wunderlist/blob/master/js/backend/wunderlist.sync.js

Usage¶ ↑

cd lib
irb
ruby-1.9.2-p180 :001 > email = 'foo'
 => 'foo'
ruby-1.9.2-p180 :002 > password = 'bar'
 => "bar" 
ruby-1.9.2-p180 :003 > $LOAD_PATH.push('.')
 => [...]
ruby-1.9.2-p180 :004 > require 'wunderlist'
 => true 
ruby-1.9.2-p180 :005 > wl = Wunderlist::Sync.new(email, password)
[...]/wunderlist-rb/lib/wunderlist/sync.rb:20: Please set :app_name and :app_version to non-default values.
 => #<Wunderlist::Sync:0x00000000a69e60 [...] >
ruby-1.9.2-p180 :006 > wl.sync
 => nil 
ruby-1.9.2-p180 :007 > wl.tasks.size
 => 13 
ruby-1.9.2-p180 :008 > wl.lists.size
 => 3 
ruby-1.9.2-p180 :009 >