How to install wsgihatenaauth
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install wsgihatenaauth
Lastest release
wsgi middle ware to authorization with Hatena Auth API.
usage:: from wsgiref.simple_server import make_server, demo_app from wsgihatenaauth import HatenaAuthHandler
apiKey = yourHatenaAuthApiKey secret = yourHatenaAuthSercretKey
app = HatenaAuthHandler(apiKey=apiKey, secret=secret)(demo_app) httpd = make_server('', 8000, app) httpd.serve_forever()