-
Notifications
You must be signed in to change notification settings - Fork 0
/
api.html
40 lines (28 loc) · 1.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>All the software versions you need to know in one place!</title>
<meta name="description" content="All the software versions you need to know in one place!" />
<link rel="canonical" href="https://www.wallen.co" />
<link href="https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Play&family=Roboto&display=swap"
rel="stylesheet">
<link rel="icon" href="../static/favicon.ico">
<link rel="stylesheet" type="text/css" href="../static/style.css" />
<script defer data-domain="wallen.co" src="https://stats.wallen.co/js/plausible.js"></script>
</head>
<body>
<h1>API information</h1>
<p2>
The API is available at https://wallen.co. <br>
<ul type="square">
<li>/api/all - returns information for all softwares.</li>
<li>/api/name - returns information for the queried software.</li>
<li>/api/name/version - returns version for the queried software.</li>
</ul>
Use same spelling as on the site.<br>
<br>
Example: curl https://wallen.co/api/Pi-hole/version<br>
Return: 5.3.1
</p2>
</body>
</html>