現実逃避中。。。
bloglinesの未読数をハテナグラフにポストするスクリプト。
#!/usr/bin/env ruby require 'rubygems' require 'hatena/api/graph' require 'webservice/bloglines' bloglines = WebService::Bloglines.new('your-email', 'your-password') count = bloglines.update["unread"] graph = Hatena::API::Graph.new('your-hatena-id', 'your-hatena-password') graph.post('bloglines', Time.now, count) puts count