Hatena::API::Auth – Hatena Authentication API

SYNOPSIS

require 'rubygems'
require 'hatena/api/auth'
hatena_auth = Hatena::API::Auth.new(:api_key => YOUR_API_KEY, :secret => YOUR_SECRET_KEY)

# login_uri generate
hatena_auth.
#=> http://auth.hatena.ne.jp/auth?api_sig=09f68bcc0127f0eafebae1c6370c2bf0&api_key=d93fffa627f03c2c641353110e4d1316

# login check
hatena_auth.(cert)

NOTES

see examples/example.cgi.

Installation

# gem install hatenaapiauth

License

Hatena::API::Auth is released under the MIT license.

Author

[email protected]@hatena.ne.jp