-
Notifications
You must be signed in to change notification settings - Fork 0
/
api.html
50 lines (49 loc) · 1.75 KB
/
api.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
50
<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8">
<title>Api – OnionTree</title>
<meta name="title" content="Api – OnionTree">
<meta name="description" content="Find verified onion addresses of popular dark web services.">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<link rel="stylesheet" type="text/css" href="/css/style.css">
</head>
<body><div id="menu">
<div class="menu_item">
<div class="menu_links">
<div class="menu_link">
<a href="/" id="logo">OnionTree</a>
</div>
<div class="menu_link">
<a href="/news.html">News</a>
</div>
<div class="menu_link">
<a href="/services.html">Services</a>
</div>
<div class="menu_link">
<a href="/tags.html">Tags</a>
</div>
<div class="menu_link">
<a href="/download.html">Download</a>
</div>
<div class="menu_link">
<a href="/about.html">About</a>
</div>
</div>
</div>
</div>
<div id="content">
<h1 id="api">API</h1>
<h2 id="services">Services</h2>
<p>Service’s data are available in JSON. You can access them by replacing .html with .json in URL.</p>
<h3 id="example">Example</h3>
<pre><code>$ curl http://onions53ehmf4q75.onion/services/nytimes.json
</code></pre><h2 id="pgp-keys">PGP keys</h2>
<p>You can download a PGP key, if you know its ID.</p>
<h3 id="example-1">Example</h3>
<pre><code>$ curl http://onions53ehmf4q75.onion/keys/E9971784146CCD94.txt
</code></pre>
</div><footer>
<a href="/orifice.html" style="display:none;"></a>
</footer>
</body>
</html>