Hatena Graph API ruby binding imported to ruby 1.9
tdtds/hatena-api-graph
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
= Hatena::API::Graph -- Hatena Graph API == SYNOPSIS require 'rubygems' require 'hatena/api/graph' graph = Hatena::API::Graph.new('username', 'password') # graph.post('graphname', Time.now, 10.5) # obsolute graph.post_data(graphname, :date => Date.today, :value => 10) data = graph.get_data(graphname) p data[Date.today] data2 = graph.get_data('日記数', :username => 'hatenadiary') config = graph.get_config(graphname) config['reverse'] = true graph.post_config(graphname, config) # use proxy graph.proxy = Net::HTTP::Proxy(proxy_host, proxy_port, proxy_user, proxy_pass) graph.post_data(graphname, :value => 10) == Installation # gem install hatenaapigraph == License Hatena::API::Graph is released under the MIT license. == Author secondlife@no.spam@hatena.ne.jp
About
Hatena Graph API ruby binding imported to ruby 1.9
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published