Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ClojureDocs External API
Clojure
tree: a7dafece21

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
resources
src
test/cd_wsapi
.gitignore
README.markdown
project.clj

README.markdown

cd-wsapi - ClojureDocs.org web API

Usage

lein uberjar
java -jar cd-wsapi-0.1.0-SNAPSHOT-standalone.jar

In a separate terminal:

Getting examples

curl "http://localhost:8080/examples/clojure.core/map"

Searching for a function

curl "http://localhost:8080/search/map"
curl "http://localhost:8080/search/clojure.core/map"

Searching for comments on a function

curl "http://localhost:8080/comments/clojure.contrib.json/read-json"

Getting the 'see-also' functions

curl "http://localhost:8080/see-also/clojure.test/are"

License

Copyright (C) 2010 FIXME

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

Something went wrong with that request. Please try again.