forked from zk/cd-wsapi
/
index.html
49 lines (39 loc) · 914 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<html>
<head>
<title>ClojureDocs Web API</title>
</head>
<body>
<br />
<br />
<div id='main' style='border: 3px double; width: 600px; margin-left: auto; margin-right: auto; padding-left: 15px;'>
<h1>ClojureDocs.org web API</h1>
All API functions return JSON.
<h2>Usage:</h2>
<h3>Getting examples</h3>
<pre>
<code>
curl "http://api.clojuredocs.org/examples/clojure.core/map"
</code>
</pre>
<h3>Searching for a function</h3>
<pre>
<code>
curl "http://api.clojuredocs.org/search/map"
curl "http://api.clojuredocs.org/search/clojure.core/map"
</code>
</pre>
<h3>Searching for comments on a function</h3>
<pre>
<code>
curl "http://api.clojuredocs.org/comments/clojure.contrib.json/read-json"
</code>
</pre>
<h3>Getting the 'see-also' functions</h3>
<pre>
<code>
curl "http://api.clojuredocs.org/see-also/clojure.test/are"
</code>
</pre>
</div>
</body>
</html>