Sha256: 43a025acb8fa66b9268bd72cd04b3d8fff9e505221d2375b10044bfc6519987a

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

#!ruby -Ku
require 'timelog4r'

t = Timelog4r.new
t.user_id = 'your Timelog ID'
t.password = 'your Password'

friends = t.get_friend_list({:cnt => 'all'})
fan = t.get_fan_list({:cnt => 'all'})

not_yet_followings = fan[:entries].map{|i|i[:id]} - friends[:entries].map{|j|j[:id]}

return not_yet_followings

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
timelog4r-0.0.1 example/create_refollow_list.rb