Hatena::Graph API for Clojure.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/hatena
test/hatena
.gitignore
README.md
project.clj

README.md

Hatena::Graph API for Clojure

Hatena::Graph API wrapper for Clojure.

Installation

clj-hatena-graph is available as a Maven artifact from Clojars.

[org.clojars.bouzuya/hatena.graph "0.2.0"]

Usage

in your application:

(ns your-app.core
  (:require [hatena.graph :as graph))

(graph/with-auth "hatena-username" "hatena-password"
   (graph/get-data "graphname"))

in the command-line:

HATENA_USERNAME=hatena-username \
HATENA_PASSWORD=hatena-password \
lein trampoline run graph-name <<EOT
2013-04-27,64
2013-04-28,256
EOT

NOTE

To run the test, you need to create login.clj.

{:username "hatena-username"
 :password "hatena-password"}

License

Copyright © 2013 bouzuya

Distributed under the Eclipse Public License, the same as Clojure.